OpenCV: link error, can't resolve external symbol _cvResize and _cvCvtColor

廉价感情. 提交于 2019-12-02 16:11:26

问题


the reason for the link error is clear, some lib is missing within my link procedure. Unfortunately it seems OpenCV 2.4.1 has changed it's internal structure, so the resolutions I find with Google/the Stackoverflow search function only recommend me to link against libraries that no longer exist (cv.lib or cxcore.lib).

I could solve some of my linking problems by using opencv_core241.lib and opencv_highgui241.lib, but in where are _cvResize and _cvCvtColor located at?


回答1:


As stated by guitarflow linking against opencv_imgproc241.lib is necessary.




回答2:


Mmy problem was solved by adding the following libraries:
1- libopencv_highgui.2.4.7.dylib
2- libopencv_core.2.4.7.dylib
3- libopencv_imgproc.2.4.7.dylib

Regards.



来源:https://stackoverflow.com/questions/11095375/opencv-link-error-cant-resolve-external-symbol-cvresize-and-cvcvtcolor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!