1. cmake - could not fine protobuf compiler
ans:
$ sudo apt-get install libprotobuf-dev protobuf-compiler
delete the build file and recreate it, then cmake again;
2. You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library
ans:
cmake .. -DOpenCV_DIR=/usr/share/OpenCV
本文介绍了解决CMake配置过程中找不到Protobuf编译器的问题及手动指定OpenCV目录的方法。针对Protobuf问题,可通过安装libprotobuf-dev和protobuf-compiler包并重新配置CMake来解决;对于OpenCV配置,需要手动设置CMake变量OpenCV_DIR指向OpenCV库。

3068

被折叠的 条评论
为什么被折叠?



