在Conditional defines欄位加入
_FM_NO_REMAP;SKIP_INCLUDES
Include路徑加入
J:\opencv\opencv2.1\include
Library路徑加入
J:\opencv\opencv2.1\lib
在主程式 Unit1.cpp
加入下列函式庫
#pragma comment(lib,"cv210.lib") //library for OpenCV
#pragma comment(lib,"cxcore210.lib") //library for OpenCV
#pragma comment(lib,"highgui210.lib") //library for OpenCV
在主程式 Unit1.h
加入下列標頭檔
#include <cv.h> //headers for OpenCV
#include <highgui.h> //headers for OpenCV
全站熱搜
留言列表