包含目录配置(通用属性(Common Properties)—>VC ++目录—>包含目录(Include Directories))。添加路径:D:\Code\C\opencv\build\include;D:\Code\C\opencv\build\include\opencv;D:\Code\C\opencv\build\include\opencv2 配置库文件目录(Library Directories)。D:\Code\C\opencv\build\x64\vc14\lib(注意VS版本)...