chldydgh4687 / 00Self-Linux_trial_and_error

Linux & DeepLearning
0 stars 0 forks source link

[Solved]caffe_protobuf: no such file or directory #14

Open chldydgh4687 opened 4 years ago

chldydgh4687 commented 4 years ago

caffe make 중에 뜨는 오류

CXX .build_release/src/caffe/proto/caffe.pb.cc
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:10:40: fatal error: google/protobuf/port_def.inc: No such file or directory
 #include <google/protobuf/port_def.inc>
                                        ^
compilation terminated.
Makefile:598: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
chldydgh4687 commented 4 years ago

A : 기존 리눅스에서의 protobuf 와 conda의 protobuf와 충돌이라 생각됨

다음의 명령어로 해결됨

$ conda uninstall libprotobuf