vs2010 opencv配置

---vc++

                包含目录 :

D:\Program Files\opencv\opencv\build\include\opencv;D:\Program Files\opencv\opencv\build\include\opencv2;D:\Program Files\opencv\opencv\build\include

                 库目录:    

                 

D:\Program Files\opencv\opencv\build\x86\vc10\lib
D:\Program Files\opencv\opencv\build\x86\vc10\bin


链接器----输入----附加依赖项


opencv_calib3d2411d.lib

opencv_contrib2411d.lib

opencv_core2411d.lib

opencv_features2d2411d.lib

opencv_flann2411d.lib

opencv_gpu2411d.lib

opencv_highgui2411d.lib

opencv_imgproc2411d.lib

opencv_legacy2411d.lib

opencv_ml2411d.lib

opencv_objdetect2411d.lib

opencv_ts2411d.lib

opencv_video2411d.lib

#include <iostream>  
#include <fstream>  
#include <opencv2/core/core.hpp>  
#include <opencv2/highgui/highgui.hpp>  
#include <opencv2/imgproc/imgproc.hpp>  
#include <opencv2/objdetect/objdetect.hpp>  
#include <opencv2/ml/ml.hpp>  
  
using namespace std;  
using namespace cv;  

你可能感兴趣的:(vs2010 opencv配置)