新建项目,右击属性,配置属性,
VC++目录,使用相对路径,可执行文件目录:..\..\opencv\build\x86\vc12\bin,(双点,上级目录)
包含目录:..\..\opencv\build\include\opencv2,..\..\opencv\build\include,..\..\opencv\build\include\opencv,
库目录:..\..\opencv\build\x86\vc12\lib ,
链接器:输入:附加依赖项:opencv_world300d.lib