Ask Your Question
0

Installing OpenCV 2.4.5 in Windows 8

asked 2013-06-15 23:52:26 -0600

updated 2013-06-15 23:54:06 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-06-16 03:48:43 -0600

Bench gravatar image

I use Win8 and VS2010. It works fine with OpenCV 2.4.5. The lib path is "C:\opencv\build\x86\vc11\lib". FYI.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-15 23:52:26 -0600

Seen: 2,197 times

Last updated: Jun 16 '13