Today would like to try OpenCV, so on their own machine to deploy a try, the result has been encountered this error: Link:fatal error LNK1104
Environment: Win7 64-bit vs2012 OpenCV 2.4.11
Configuration:
Add E:\opencv\opencv\build\x64\vc12\bin to the environment variable path
Add additional Include directories to vs: E:\opencv\opencv\build\include E:\opencv\opencv\build\include\opencv E:\opencv\opencv\build\include \opencv2
Add additional Library directories to vs: E:\opencv\opencv\build\x86\vc12\lib
To add an additional dependency in VS:
Opencv_calib3d2411d.lib
Opencv_contrib2411d.lib
Opencv_core2411d.lib
Opencv_features2d2411d.lib
Opencv_flann2411d.lib
Opencv_gpu2411d.lib
Opencv_highgui2411d.lib
Opencv_imgproc2411d.lib
Opencv_legacy2411d.lib
Opencv_ml2411d.lib
Opencv_nonfree2411d.lib
Opencv_objdetect2411d.lib
Opencv_photo2411d.lib
Opencv_stitching2411d.lib
Opencv_ts2411d.lib
Opencv_video2411d.lib
Opencv_videostab2411d.lib
Executing a build is just the same error: link:fatal error LNK1104: Can't open File "opencv_calib3d2411d.lib;opencv_contrib2411d.lib;opencv_ Core2411d.lib; "
Look at the OPCV Library directory, these three files are present, no language anymore.
Try to copy these three libraries directly to the project directory, adding #pragma in the code still appears this error: Link:fatal error LNK1104
Do not understand, in the end why???
Link:fatal Error LNK1104