OpenCV won't compile due to unresolved externals — LNK2019

后端 未结 2 1973
南旧
南旧 2021-01-05 01:00

I am brand new to OpenCV and have been trying to set it up in Visual Studios 2010 Ultimate. I have followed the documentation exactly, and linked the files as it said. Here

相关标签:
2条回答
  • 2021-01-05 01:04

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

    0 讨论(0)
  • 2021-01-05 01:23

    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

    0 讨论(0)
提交回复
热议问题