Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv2.2 with visualstudio c++ 2010 express startup

Hi,

I'm a bigginer of opencv and visualstudio. I tried startup opencv2.2 with visualstudio c++ 2010 express as below, but failed.

Install opencv Create a blank project in visualstudio Open the property of the porject At VC++ property, add below to include directory C:\opencv\build\include;C:\opencv\build\include\opencv;C:\opencv\build\include\opencv2;

At VC++ property, add below to library directory C:\opencv\build\x64\vc10\lib;

Then, at input at link, add additional dependency files as below opencv_calib3d231d.lib;opencv_contrib231d.lib;opencv_core231d.lib;opencv_features2d231d.lib;opencv_flann231d.lib;opencv_gpu231d.lib;opencv_haartraining_engined.lib;opencv_highgui231d.lib;opencv_imgproc231d.lib;opencv_legacy231d.lib;opencv_ml231d.lib;opencv_objdetect231d.lib;opencv_ts231d.lib;opencv_video231d.lib;

Build a sample "image.cpp" and got error: cannot open opencv_calib3d231d.lib

Look for opencv_calib3d231d.lib at c:\opencv\build\x64\vc10\lib but cannot find it. Instead, opencv_calib3d240d.lib was found.

I googled it, but cannot find any solution for it. Can anyone help me??