binarization_2017
binarization_2017 copied to clipboard
caffe make all error
Hi,Chris,I just want to install caffe ,on ubuntu18.04,anaconda 3,and python2.7(cpu),and i use your caffe-master,but athe error really confuse me ,as following, .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<int, int>(int const&, int const&, char const*)’中: extract_features.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x43):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<unsigned int, int>(unsigned int const&, int const&, char const*)’中: extract_features.cpp:(.text._ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc]+0x43):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<unsigned long, unsigned long>(unsigned long const&, unsigned long const&, char const*)’中: extract_features.cpp:(.text._ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x44):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/lib/libcaffe.so:对‘leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)’未定义的引用 .build_release/lib/libcaffe.so:对‘leveldb::Status::ToString() const’未定义的引用 collect2: error: ld returned 1 exit status Makefile:561: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1
It always exits,my gcc and g++ is 4.8.5,protobuf is 2.5,and I have g++ 7.3,but I lowered in order to make ,could you help me ,if so ,I will appreciate it very much.
I've never tried to build on ubuntu 18, only 14 and 16.
On Fri, Apr 12, 2019 at 3:31 AM justinner [email protected] wrote:
Hi,Chris,I just want to install caffe ,on ubuntu18.04,anaconda 3,and python2.7(cpu),and i use your caffe-master,but athe error really confuse me ,as following, .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<int, int>(int const&, int const&, char const*)’中:
extract_features.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x43):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<unsigned int, int>(unsigned int const&, int const&, char const*)’中:
extract_features.cpp:(.text._ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc]+0x43):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/tools/extract_features.o:在函数‘std::string* google::MakeCheckOpString<unsigned long, unsigned long>(unsigned long const&, unsigned long const&, char const*)’中:
extract_features.cpp:(.text._ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x44):对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用 .build_release/lib/libcaffe.so:对‘leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)’未定义的引用 .build_release/lib/libcaffe.so:对‘leveldb::Status::ToString() const’未定义的引用 collect2: error: ld returned 1 exit status Makefile:561: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1
It always exits,my gcc and g++ is 4.8.5,protobuf is 2.5,and I have g++ 7.3,but I lowered in order to make ,could you help me ,if so ,I will appreciate it very much.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ctensmeyer/binarization_2017/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2mpNNsslWAxGMQZpsZ4xd3gI3shfs6ks5vgFKIgaJpZM4crt5V .
Ok,thanks very much.