opencv2.4.2, visual studio 2010 setting

1. download

2. property manaver setting


include

C:\opencv.2.4.2\opencv\build\include

C:\opencv.2.4.2\opencv\build\include\opencv

C:\opencv.2.4.2\opencv\build\include\opencv2


lib

* 64bit 이더라도 32bit setting

C:\opencv.2.4.2\opencv\build\x86\vc10\lib



bin

C:\opencv.2.4.2\opencv\build\x86\vc10\bin 폴더에 

C:\opencv.2.4.2\opencv\build\common\tbb\ia32\vc10 안에 들어있는 

tbb_*.dll 과 폴더를 복사해서 붙여 넣도록 한다. 


system PATH 에 등록하기

C:\opencv.2.4.2\opencv\build\x86\vc10\bin



소스코드에서 include 하는 것과 lib 추가하는 것들




001.txt



opencv 2.4.2

[공용 속성 - 링커 - 입력 - 추가 종속성]을 다음과 같이 편집한다.

opencv_calib3d242d.lib

opencv_contrib242d.lib

opencv_core242d.lib

opencv_features2d242d.lib

opencv_flann242d.lib

opencv_gpu242d.lib

opencv_haartraining_engined.lib

opencv_highgui242d.lib

opencv_imgproc242d.lib

opencv_legacy242d.lib



opencv_ml242d.lib

opencv_nonfree242d.lib

opencv_objdetect242d.lib

opencv_photo242d.lib

opencv_stitching242d.lib

opencv_ts242d.lib

opencv_video242d.lib

opencv_videostab242d.lib


opencv 2.3.1

opencv_video231d.lib

opencv_objdetect231d.lib

opencv_ml231d.lib

opencv_legacy231d.lib

opencv_imgproc231d.lib

opencv_highgui231d.lib

opencv_haartraining_engined.lib

opencv_gpu231d.lib

opencv_flann231d.lib

opencv_features2d231d.lib

opencv_core231d.lib

opencv_contrib231d.lib

opencv_calib3d231d.lib



openCV 2.4.2

#include <iostream>

#include <opencv2/highgui/highgui.hpp>

#include <opencv2/core/core.hpp>

#include <opencv2/opencv.hpp>


using namespace std;

using namespace cv;

reference

http://instance-of.com/archives/1348


댓글

Designed by JB FACTORY