配置环境变量
OPENCV C:\THIRDPARTY\opencv346\build\x64\vc14
PATH C:\THIRDPARTY\opencv346\build\x64\vc14\bin
新建工程 选择X64
右键 属性 VC++目录
C:\THIRDPARTY\opencv346\build\include
C:\THIRDPARTY\opencv346\build\include\opencv
C:\THIRDPARTY\opencv346\build\include\opencv2
在 VC++目录 - 库目录 中新增库目录
C:\THIRDPARTY\opencv346\build\x64\vc14\lib
链接器 - 输入 - 附加依赖项 中新增附加依赖项
opencv_world346.lib
opencv_world346d.lib