YuwenXiong / py-R-FCN

R-FCN with joint training and python support
MIT License
1.05k stars 471 forks source link

Issue with building microsoft caffe #117

Open liminghuiv opened 6 years ago

liminghuiv commented 6 years ago

Here is the error message: (py-rfcn) @LAB00100W:~/py-R-FCN/caffe$ make -j8 CXX/LD -o .build_release/tools/net_speed_benchmark.bin CXX tools/test_net.cpp CXX tools/compute_image_mean.cpp CXX tools/device_query.cpp CXX tools/upgrade_net_proto_text.cpp CXX tools/upgrade_net_proto_binary.cpp CXX tools/train_net.cpp CXX tools/convert_imageset.cpp .build_release/lib/libcaffe.so: undefined reference to google::protobuf::internal::AssignDescriptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::internal::MigrationSchema const*, google::protobuf::Message const* const*, unsigned int const*, google::protobuf::MessageFactory*, google::protobuf::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)' .build_release/lib/libcaffe.so: undefined reference togoogle::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::io::CodedOutputStream)' .build_release/lib/libcaffe.so: undefined reference to google::protobuf::Message::GetTypeName[abi:cxx11]() const' .build_release/lib/libcaffe.so: undefined reference togoogle::protobuf::Message::InitializationErrorString[abi:cxx11]() const' .build_release/lib/libcaffe.so: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned char)' .build_release/lib/libcaffe.so: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::io::CodedOutputStream)' .build_release/lib/libcaffe.so: undefined reference to google::protobuf::Message::DebugString[abi:cxx11]() const' .build_release/lib/libcaffe.so: undefined reference togoogle::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const, void ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))' .build_release/lib/libcaffe.so: undefined reference to `google::protobuf::internal::OnShutdownDestroyString(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const)' .build_release/lib/libcaffe.so: undefined reference to google::protobuf::MessageLite::ParseFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' .build_release/lib/libcaffe.so: undefined reference togoogle::protobuf::internal::fixed_address_empty_string[abi:cxx11]' .build_release/lib/libcaffe.so: undefined reference to google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)' .build_release/lib/libcaffe.so: undefined reference togoogle::base::CheckOpMessageBuilder::NewString[abi:cxx11]()' .build_release/lib/libcaffe.so: undefined reference to google::protobuf::internal::NameOfEnum[abi:cxx11](google::protobuf::EnumDescriptor const*, int)' .build_release/lib/libcaffe.so: undefined reference togoogle::protobuf::internal::WireFormatLite::WriteString(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/net_speed_benchmark.bin' failed make: [.build_release/tools/net_speed_benchmark.bin] Error 1 make: Waiting for unfinished jobs....