Konnte nicht finden, PROTOBUF-Compiler

Ich versuche zu tun, ein CMake mit Caffe, aber mein system nicht finden kann protobuf-compiler. Ich habe zuvor installiert protobuf2.7.0. Nun wechselte ich wieder auf 2.6.1. Wie könnte ich konfigurieren mein CMake zu erkennen, die protobuf2.6.1-compiler?

Habe ich getan

$ sudo apt-get install  libprotobuf-dev protobuf-compiler
$ protoc --version
libprotoc 2.6.1

Aber wenn ich versuche, cmake Caffe, es gibt mir immer noch den Fehler

user@user-computer:~/caffe/build$ cmake -DBLAS=open ..
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
CMake Error at cmake/ProtoBuf.cmake:13 (message):
  Could not find PROTOBUF Compiler
Call Stack (most recent call first):
  cmake/Dependencies.cmake:43 (include)
  CMakeLists.txt:46 (include)


-- Configuring incomplete, errors occurred!
See also "/home/user/caffe/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/caffe/build/CMakeFiles/CMakeError.log".
InformationsquelleAutor chan3600 | 2017-10-11
Schreibe einen Kommentar