GithubHelp home page GithubHelp logo

sofastack / sofa-bolt-cpp Goto Github PK

View Code? Open in Web Editor NEW
24.0 12.0 4.0 12.51 MB

The C++ implementation of the SOFABolt protocol.

License: Apache License 2.0

CMake 3.58% Dockerfile 0.12% C 9.87% C++ 53.10% Makefile 29.61% Shell 0.09% HTML 3.63%
sofastack sofa-bolt cpp

sofa-bolt-cpp's Issues

关于项目使用的疑问

您好,我是C++新手。
请问咱这项目编译环境,编译工具,还有编译指令是什么?
有什么简单的使用说明吗?
我在MacOS10.14下,用Gcc8.2编译,总是报错,能帮忙看看吗?

/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/zhachen/workspace/C++/sofa-bolt-cpp/cmake-build-debug --target bolt_heartbeat -- -j 2
[ 85%] Built target bolt-rpc-client
[ 89%] Linking CXX executable bolt_heartbeat
Undefined symbols for architecture x86_64:
  "google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&))", referenced from:
      protobuf_sample_2eproto::AddDescriptorsImpl()       in sample.pb.cc.o
  "google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*)", referenced from:
      google::protobuf::internal::WireFormatLite::WriteStringToArray(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*) in sample.pb.cc.o
  "google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)", referenced from:
      SampleServicePbResult::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const  in sample.pb.cc.o
      SampleServicePbRequest::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const  in sample.pb.cc.o
  "google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)", referenced from:
      google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) in sample.pb.cc.o
  "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::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)", referenced from:
      protobuf_sample_2eproto::protobuf_AssignDescriptors()       in sample.pb.cc.o
  "google::protobuf::internal::fixed_address_empty_string[abi:cxx11]", referenced from:
      google::protobuf::internal::GetEmptyStringAlreadyInited[abi:cxx11]() in sample.pb.cc.o
  "google::protobuf::Message::GetTypeName[abi:cxx11]() const", referenced from:
      vtable for SampleServicePbRequest in sample.pb.cc.o
      vtable for SampleServicePbResult in sample.pb.cc.o
  "google::protobuf::Message::InitializationErrorString[abi:cxx11]() const", referenced from:
      vtable for SampleServicePbRequest in sample.pb.cc.o
      vtable for SampleServicePbResult in sample.pb.cc.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [bolt_heartbeat] Error 1
make[2]: *** [CMakeFiles/bolt_heartbeat.dir/all] Error 2
make[1]: *** [CMakeFiles/bolt_heartbeat.dir/rule] Error 2
make: *** [bolt_heartbeat] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.