OpenCV won't compile due to unresolved externals — LNK2019

守給你的承諾、 提交于 2019-11-30 19:38:32
guinny

shambool in another thread just pointed that you should maybe read this.

I ran into the same problem and found that I was targeting a 32-bit platform. The answer was to change my project to target x64. The instructions are located at: http://msdn.microsoft.com/en-us/library/vstudio/ms185328.aspx.

I also found the reference listed above by chaiy was very useful. Here it is again: http://docs.opencv.org/trunk/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

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