vendredi 26 janvier 2018

make error while building cpp examples ( shogun )

sudo make build_cpp_meta_examples

.[ 87%] Linking CXX executable multiclass/cpp-multiclass-k_nearest_neighbours ./../../src/shogun/libshogun.so.18.0: 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**)' ../../../src/shogun/libshogun.so.18.0: undefined reference togoogle::protobuf::Message::GetTypeNameabi:cxx11 const' ../../../src/shogun/libshogun.so.18.0: undefined reference to google::protobuf::Message::InitializationErrorString[abi:cxx11]() const' ../../../src/shogun/libshogun.so.18.0: undefined reference togoogle::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void ()(std::__cxx11::basic_string, std::allocator > const&))' collect2: error: ld returned 1 exit status examples/meta/cpp/CMakeFiles/cpp-multiclass-k_nearest_neighbours.dir/build.make:105: recipe for target 'examples/meta/cpp/multiclass/cpp-multiclass-k_nearest_neighbours' failed make[3]: [examples/meta/cpp/multiclass/cpp-multiclass-k_nearest_neighbours] Error 1 CMakeFiles/Makefile2:6738: recipe for target 'examples/meta/cpp/CMakeFiles/cpp-multiclass-k_nearest_neighbours.dir/all' failed make[2]: [examples/meta/cpp/CMakeFiles/cpp-multiclass-k_nearest_neighbours.dir/all] Error 2 CMakeFiles/Makefile2:5268: recipe for target 'examples/meta/cpp/CMakeFiles/build_cpp_meta_examples.dir/rule' failed make[1]: [examples/meta/cpp/CMakeFiles/build_cpp_meta_examples.dir/rule] Error 2 Makefile:1848: recipe for target 'build_cpp_meta_examples' failed make: * [build_cpp_meta_examples] Error 2

Aucun commentaire:

Enregistrer un commentaire