sofastack / sofa-bolt-cpp Goto Github PK
View Code? Open in Web Editor NEWThe C++ implementation of the SOFABolt protocol.
License: Apache License 2.0
The C++ implementation of the SOFABolt protocol.
License: Apache License 2.0
您好,我是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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.