anhttran / 3dmm_cnn

Regressing Robust and Discriminative 3D Morphable Models with a very Deep Neural Network
Other
857 stars 254 forks source link

caffe error..! #19

Closed sadhanareddy007 closed 6 years ago

sadhanareddy007 commented 6 years ago

Hii, I am new to python when i am trying to install caffe i am getting error when running make all,make pycaffe.The error is 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

Please any one can help Thanks in advance

anhttran commented 6 years ago

Dear,

You may have multiple versions of google-protobuf.You can use "locate" to check location of your google-protobuf libraries (e.g. locate libprotobuf.so), then config caffe to use the same google-protobuf version in compiling.

By the way, you should post your question in Caffe's project repository. It is more relevant.

Best regards, Anh

On Thu, Sep 14, 2017 at 6:07 AM, singireddysravankumar < notifications@github.com> wrote:

Hii, I am new to python when i am trying to install caffe i am getting error when running make all,make pycaffe.The error is 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

Please any one can help Thanks in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_anhttran_3dmm-5Fcnn_issues_19&d=DwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=uWuFHkuJNMJjKNj2bKpEDw&m=2Dqs6zSg2eIGw8JibMdJabxwQjZEL-d9NepT4_K9HgE&s=RZ9ZOG7ovJGtH5qTo0_VBJDLk2Jgwxfgl4DfAMLHh_k&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIpm-5Fhe1ZOFpoR14PwmCU7JWXgWGrkyUks5siSUugaJpZM4PXjf9&d=DwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=uWuFHkuJNMJjKNj2bKpEDw&m=2Dqs6zSg2eIGw8JibMdJabxwQjZEL-d9NepT4_K9HgE&s=jZsM5OITTHIozYKqbKbmMYO7r8WYVZLhyqlPS7Axf2o&e= .

iacopomasi commented 6 years ago

@singireddysravankumar Even better, do not open an issue in caffe github, but use Caffe google forum to ask quesitons https://groups.google.com/forum/#!forum/caffe-users

Closing this issue.