2015-02-02 09:12:07 -0600 | commented question | Unresolved Externals Thanks, everyone. I liked to the wrong library directory - I should have linked to C:\OpenCV\opencv\build\x64\vc11\lib, not C:\OpenCV\opencv\build\x64\vc12\lib. And yes, berak, I should have linked only to the dynamic libraries. Once I only linked to C:\OpenCV\opencv\build\x64\vc11\lib, the project linked without any errors. |
2015-01-30 22:10:58 -0600 | asked a question | Unresolved Externals Hi, I am new to the group and OpenCV. I am coding the tutorial found in http://docs.opencv.org/doc/tutorials/... I am setting the Configuration: to Debug and Platform: to x64. Here is what the code in Visual C++ looks like: I also made sure that the following library directories were added to the linker: C:\OpenCV\opencv\build\x64\vc12\staticlib C:\OpenCV\opencv\build\x64\vc12\lib and the following libraries were added to Additional Dependencies for the Debug platform: opencv_core249d.lib opencv_imgproc249d.lib opencv_highgui249d.lib opencv_ml249d.lib opencv_video249d.lib opencv_features2d249d.lib opencv_calib3d249d.lib opencv_objdetect249d.lib opencv_contrib249d.lib opencv_legacy249d.lib opencv_flann249d.lib and the following libraries were added to Additional Dependencies for the Release platform: opencv_core249.lib opencv_imgproc249.lib opencv_highgui249.lib opencv_ml249.lib opencv_video249.lib opencv_features2d249.lib opencv_calib3d249.lib opencv_objdetect249.lib opencv_contrib249.lib opencv_legacy249.lib opencv_flann249.lib When I tried to build this C++ file using the x64 platform, I got 116 unresolved externals (error LNK2019). Is there something I am missing? |