Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protobuf Compiler Errors During Caffe Compilation #127

Open
mmahmed13 opened this issue Dec 19, 2017 · 0 comments
Open

Protobuf Compiler Errors During Caffe Compilation #127

mmahmed13 opened this issue Dec 19, 2017 · 0 comments

Comments

@mmahmed13
Copy link

I installed all the Caffe dependencies when I used BLVC's Caffe. Now when I compiled caffe-segnet, I had to manually set all the paths for boost, glog, gflags and protobuf in the CMakeCache.txt as it was unable to find them. Now, all the dependencies have been found except Protobufs. It gives these errors:

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:28 (include)
CMake Error at cmake-3.10.0-win64-x64/share/cmake-3.10/Modules/FindProtobuf.cmake:425 (file):
  file STRINGS file
  "C:/Users/<User>/.caffe/dependencies/libraries_v140_x64_py35_1.1.0/libraries/include/google/google/protobuf/stubs/common.h"
  cannot be read.
Call Stack (most recent call first):
  cmake/ProtoBuf.cmake:4 (find_package)
  cmake/Dependencies.cmake:24 (include)
  CMakeLists.txt:28 (include) 
CMake Error at cmake-3.10.0-win64-x64/share/cmake-3.10/Modules/FindProtobuf.cmake:431 (math):
  math cannot parse the expression: " / 1000000": syntax error, unexpected
  exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
  (2)
Call Stack (most recent call first):
  cmake/ProtoBuf.cmake:4 (find_package)
  cmake/Dependencies.cmake:24 (include)
  CMakeLists.txt:28 (include)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant