fatal error makefile in caffe

306 views
Skip to first unread message

kausar almas

unread,
Sep 7, 2017, 4:55:33 AM9/7/17
to Caffe Users
I am facing this problem during makefile.config.
Please give me some response to solve this problem.

PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/
proto/caffe.pb.cc
In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:0:
.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
 #error This file was generated by a newer version of protoc which is
  ^
.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
 #error incompatible with your Protocol Buffer headers.  Please update
  ^
.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
 #error your headers.
  ^
In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:0:
.build_release/src/caffe/proto/caffe.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
compilation terminated.
Makefile:588: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1

Alex Ter-Sarkisov

unread,
Sep 7, 2017, 6:29:43 AM9/7/17
to Caffe Users
try using cmake instead of make. I often find it more stable. Just make a build dir yourself and run cmake .. from there. 

kausar almas

unread,
Sep 7, 2017, 1:23:55 PM9/7/17
to caffe...@googlegroups.com
Actually now i am facing this problem.. Will you please give me reply.

The error is :
 .build release/cuda/src/caffe/layers/hd5_output_layer.o] Error 127

Alex Ter-Sarkisov

unread,
Sep 7, 2017, 1:39:02 PM9/7/17
to Caffe Users
you might be missing some dependencies. I suggest you follow the installation instructions from here. Also make sure your version of CUDA and CUDNN are supported (I think you need at least 6.5). Also in CMakeLists.txt you might want to set cudnn to OFF
Reply all
Reply to author
Forward
0 new messages