alexgkendall / caffe-segnet

Implementation of SegNet: A Deep Convolutional Encoder-Decoder Architecture for Semantic Pixel-Wise Labelling
http://mi.eng.cam.ac.uk/projects/segnet/
Other
1.08k stars 452 forks source link

Protobuf Compiler Errors During Caffe Compilation #127

Open mmahmed13 opened 6 years ago

mmahmed13 commented 6 years ago

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)