Ask Your Question

Revision history [back]

Installing OpenCV 2.4.5 in Windows 8

I'm trying to configure OpenCV 2.4.5 for Visual Studio 2012 on Windows 8(x64). I carefully followed the steps as given in many popular tutorials but when I build the code I get a linking error.

  1. set path variables (~\opencv\build\x64\vc11\bin)

  2. build configurations of the Visual studio project. 2.1 set path to C/C++ additional include directories; ~\opencv\include

    2.2 set path to additional library directories; ~\opencv\build\x64\vc11\lib

    2.3 Added additional dependencies to the linker input

opencv_calib3d245d.lib

opencv_contrib245d.lib

opencv_core245d.lib

opencv_features2d245d.lib

opencv_flann245d.lib

opencv_gpu245d.lib

opencv_haartraining_engined.lib

opencv_highgui245d.lib

opencv_imgproc245d.lib

opencv_legacy245d.lib

opencv_ml245d.lib

opencv_nonfree245d.lib

opencv_objdetect245d.lib

opencv_photo245d.lib

opencv_stitching245d.lib

opencv_superres245d.lib

opencv_ts245d.lib

opencv_video245d.lib

opencv_videostab245d.lib

This is the basic procedure given in many resources but I get the following error when trying to build a sample code.

error LNK1104: cannot open file ‘opencv_calib3d245d.lib’

Please note that these references are for Windows 7 users, so I want to know whether the process is different for Windows 8 and if so, what changes should I make to get this working.

Thanks

Installing OpenCV 2.4.5 in Windows 8

I'm trying to configure OpenCV 2.4.5 for Visual Studio 2012 on Windows 8(x64). I carefully followed the steps as given in many popular tutorials but when I build the code I get a linking error.

This is what I have done so far.

  1. set path variables (~\opencv\build\x64\vc11\bin)

  2. build configurations of the Visual studio project. 2.1 set path to C/C++ additional include directories; ~\opencv\include

    2.2 set path to additional library directories; ~\opencv\build\x64\vc11\lib

    2.3 Added additional dependencies to the linker input

opencv_calib3d245d.lib

opencv_contrib245d.lib

opencv_core245d.lib

opencv_features2d245d.lib

opencv_flann245d.lib

opencv_gpu245d.lib

opencv_haartraining_engined.lib

opencv_highgui245d.lib

opencv_imgproc245d.lib

opencv_legacy245d.lib

opencv_ml245d.lib

opencv_nonfree245d.lib

opencv_objdetect245d.lib

opencv_photo245d.lib

opencv_stitching245d.lib

opencv_superres245d.lib

opencv_ts245d.lib

opencv_video245d.lib

opencv_videostab245d.lib

This is the basic procedure given in many resources but I get the following error when trying to build a sample code.

error LNK1104: cannot open file ‘opencv_calib3d245d.lib’

Please note that these references are for Windows 7 users, so I want to know whether the process is different for Windows 8 and if so, what changes should I make to get this working.

Thanks