Visual C++ 2010 需要用cv10包。
1. 環境變數設定
OPENCV_DIR
C:\Users\schan933\Desktop\opencv\build\x86\vc10
2. 環境變數設定
Path
C:\Users\schan933\Desktop\opencv\build\x86\vc10\bin
3. C/C++ --> Additional Include Directories
C:\Users\schan933\Desktop\opencv\build\include;
C:\Users\schan933\Desktop\opencv\build\include\opencv;
C:\Users\schan933\Desktop\opencv\build\include\opencv2
4. Linker --> Additional Library Directories
C:\Users\schan933\Desktop\opencv\build\x86\vc10\lib
5. Linker --> Input --> Additional Dependencies
Debug用的lib。
opencv_calib3d2410d.lib
opencv_contrib2410d.lib
opencv_core2410d.lib
opencv_features2d2410d.lib
opencv_flann2410d.lib
opencv_gpu2410d.lib
opencv_highgui2410d.lib
opencv_imgproc2410d.lib
opencv_legacy2410d.lib
opencv_ml2410d.lib
opencv_nonfree2410d.lib
opencv_objdetect2410d.lib
opencv_ocl2410d.lib
opencv_photo2410d.lib
opencv_stitching2410d.lib
opencv_superres2410d.lib
opencv_ts2410d.lib
opencv_video2410d.lib
opencv_videostab2410d.lib
留言列表