opencv2.4.2, visual studio 2010 setting
- Library/opencv
- 2012. 10. 9.
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 추가하는 것들
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
'Library > opencv' 카테고리의 다른 글
opencv Mat 를 이용한 데이터 저장 (FileStorage) 사용. (2) | 2012.10.21 |
---|---|
[CUDA] CUDA4.2.9 Setting with Visual studio 2010 (0) | 2012.10.16 |
OpenCV 2.4.2 for Android (with NDK) Setting (12) | 2012.09.27 |
openCV 2.2 Setting on Visual Studio 2008 ( with 2.3.1) (0) | 2011.11.06 |
cvSVD(), OpenCV (0) | 2011.04.19 |