OpenCV 2.4.8在 vs下的配置

1. VC++目录
包含目录
D:\OpenCV\opencv\build\include;
D:\OpenCV\opencv\build\include\opencv;
D:\OpenCV\opencv\build\include\opencv2;
$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;  VS默认
库目录
D:\OpenCV\opencv\build\x86\vc10\lib;
2.链接器
输入
opencv_calib3d248d.lib
opencv_contrib248d.lib
opencv_core248d.lib
opencv_features2d248d.lib
opencv_flann248d.lib
opencv_gpu248d.lib
opencv_highgui248d.lib
opencv_imgproc248d.lib
opencv_legacy248d.lib
opencv_ml248d.lib
opencv_nonfree248d.lib
opencv_objdetect248d.lib
opencv_ocl248d.lib
opencv_photo248d.lib
opencv_stitching248d.lib
opencv_superres248d.lib
opencv_ts248d.lib
opencv_video248d.lib
opencv_videostab248d.lib

你可能感兴趣的:(环境配置)