在vs上配置完opencv2后怎么配置3
1个回答
展开全部
我刚刚visual2011配置完opencv2.2按照面行与享呵呵希望能功配置
谈预编译安装包注意安装环境适用于VS2011(32-bit), OpenCV 2.2其环境请使用CMake
步骤 :
1.自行载并安装OpenCV-2.2.0-win32-vs2011.exe(注意安装选择OpenCV路径添加系统全局变量);
2.VS2011创建自工程;
3.打project properties弹窗口定位VC++ Directories;
4.加入[OpenCV安装路径]\include、[OpenCV安装路径]\include\opencv两路径Include Directory面(目兼容2.1及其前版本引用文件格式);
5.加入[OpenCV安装路径]\lib路径Library Directory面;
6.要关闭前窗口定位左边菜单Linker再选择Input面些依赖项加进:
opencv_core220d.lib
opencv_highgui220d.lib
opencv_video220d.lib
opencv_ml220d.lib
opencv_legacy220d.lib
opencv_imgproc220d.lib
其库视需要添加;
7.编写程序或运行些实例看看否能通
谈预编译安装包注意安装环境适用于VS2011(32-bit), OpenCV 2.2其环境请使用CMake
步骤 :
1.自行载并安装OpenCV-2.2.0-win32-vs2011.exe(注意安装选择OpenCV路径添加系统全局变量);
2.VS2011创建自工程;
3.打project properties弹窗口定位VC++ Directories;
4.加入[OpenCV安装路径]\include、[OpenCV安装路径]\include\opencv两路径Include Directory面(目兼容2.1及其前版本引用文件格式);
5.加入[OpenCV安装路径]\lib路径Library Directory面;
6.要关闭前窗口定位左边菜单Linker再选择Input面些依赖项加进:
opencv_core220d.lib
opencv_highgui220d.lib
opencv_video220d.lib
opencv_ml220d.lib
opencv_legacy220d.lib
opencv_imgproc220d.lib
其库视需要添加;
7.编写程序或运行些实例看看否能通
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询