Linker - general - Additional Library Directories
에서
D:\opencv\build\x64\vc10\lib
등을 추가해주면 된다.
x86 / Visual studio 버전별로 미리 컴파일 된 라이브러리가 존재한다.
dll을 사용하는 법은 좀 찾아 봐야할 듯..
[링크 : http://exportidea.blogspot.kr/2013/08/windows-dll.html]
[링크 : http://dhna.tistory.com/28]
에서
D:\opencv\build\x64\vc10\lib
등을 추가해주면 된다.
x86 / Visual studio 버전별로 미리 컴파일 된 라이브러리가 존재한다.
dll을 사용하는 법은 좀 찾아 봐야할 듯..
[링크 : http://exportidea.blogspot.kr/2013/08/windows-dll.html]
[링크 : http://dhna.tistory.com/28]
To do this go to the Linker → Input and under the “Additional Dependencies” entry add the name of all modules which you want to use:
The names of the libraries are as follow:
(The Name of the module)(The version Number of the library you use)d.lib
A full list, for the latest version would contain:
opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_legacy249d.lib
opencv_ml249d.lib
opencv_nonfree249d.lib
opencv_objdetect249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_videostab249d.lib
The letter d at the end just indicates that these are the libraries required for the debug. Now click ok to save and do the
same with a new property inside the Release rule section. Make sure to omit the d letters from the library names and
to save the property sheets with the save icon above them.opencv_tutorial.pdf 1.5. / How to build applications with OpenCV inside the Microsoft Visual Studio [링크 : http://docs.opencv.org/.../windows_visual_studio_Opencv.html#windows-visual-studio-how-to] |
'Programming > openCV' 카테고리의 다른 글
openCV2 2.3.1 ubuntu 컴파일하기 (0) | 2014.07.01 |
---|---|
openCV2 2.4.9 + VS2008 좌충우돌 프로젝트 생성하기 (0) | 2014.07.01 |
OpenNI - Open Natural Interaction (0) | 2014.06.30 |
opencv2 웹캠 관련 문서 (0) | 2014.06.28 |
opencv docs (0) | 2014.02.17 |