压缩文档里面包括了vs2017快速设置opencv3.2环境的属性文件,用菜单视图->其他窗口->属性管理器,快速导入.opencv320_x64.props的属性文件对debug/release是通用的.opencv320_d_x86.props对应x86的debugmode,opencv320_r_x86.props对应x86的releasemode.还要记得建立环境变量OpenCV_INCLUDE_DIRS将它指向youropencv\build\include,OpenCV_LIBS将其指向youropencv\build\x64\vc14\lib.