@ windows系统 VS2013
下载安装opencv.exe;
VS2013下“项目”-》“属性页”-》“配置属性”-》
“VC++目录”:
包含目录 -
..\opencv\build\include;
..\opencv\build\include\opencv;
..\opencv\build\include\opencv2;
库目录 -
..\opencv\build\x86\vc12\lib;
"链接器":
输入 - 附加依赖项:lib下的*d.lib文件(Debug)/ lib下的*.lib文件(Release);
源文件上加上opencv的头文件即可;
时间: 2024-10-23 00:50:14