OpenCV学习-环境配置及遇到的问题

0

1、配置环境变量,例如 D:opencv3.0.0opencvbuildx86vc12bin

2、Debug|Win32 属性中配置 VC++目录/包含目录:
D:opencv3.0.0opencvbuildincludeopencv2
D:opencv3.0.0opencvbuildincludeopencv
D:opencv3.0.0opencvbuildinclude

3、Debug|Win32 属性中配置 VC++目录/库目录:
D:opencv3.0.0opencvbuildx86vc12lib

4、配置 链接器/输入/附加依赖项:
opencv_world300d.lib (d 代表dubug)

5、debug运行后提示 丢失msvcp120d.dll:
msvcp120d.dll
msvcr120d.dll
两个文件复制到环境变量路径 D:opencv3.0.0opencvbuildx86vc12bin

6、Opencv imshow显示不出来图片:
waitKey(0);

你可能感兴趣的

载入中...