我用相同的标题查看了另一个问题,无法解决我的问题。我也做了
$ sudo apt-get install libprotobuf-dev protobuf-compiler
$ protoc --version
libprotoc 2.6.1
当我这样做时
sudo make -j4 && make pycaffe
我得到了
CMake Error at cmake/ProtoBuf.cmake:13 (message):
Could not find PROTOBUF Compiler
Call Stack (most recent call first):
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:46 (include)
-- Configuring incomplete, errors occurred!
See also "/home/varsha/neuralmap/RRPN/caffe-fast-rcnn/CMakeFiles/CMakeOutput.log".
See also "/home/varsha/neuralmap/RRPN/caffe-fast-rcnn/CMakeFiles/CMakeError.log".
Makefile:530: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
@ chan3600建议我删除构建目录。我没有构建目录。请告诉我如何解决这个问题。