Closed PROHansHao closed 1 month ago
我是在Linux下的vscode进行单模块调试,example/rpcExample/callee,会出现类似这种错误 /usr/bin/ld: /tmp/ccvavNMB.o:(.data.rel.ro._ZTV13FriendService[_ZTV13FriendService]+0x20): undefined reference to fixbug::FiendServiceRpc::GetDescriptor()' /usr/bin/ld: /tmp/ccvavNMB.o:(.data.rel.ro._ZTV13FriendService[_ZTV13FriendService]+0x28): undefined reference tofixbug::FiendServiceRpc::CallMethod(google::protobuf::MethodDescriptor const, google::protobuf::RpcController, google::protobuf::Message const, google::protobuf::Message, google::protobuf::Closure*)',应该如何编写调试文件
fixbug::FiendServiceRpc::GetDescriptor()' /usr/bin/ld: /tmp/ccvavNMB.o:(.data.rel.ro._ZTV13FriendService[_ZTV13FriendService]+0x28): undefined reference to
Message that will be displayed on users' first issue
已经解决,还需要将.pd.cc文件链接
我是在Linux下的vscode进行单模块调试,example/rpcExample/callee,会出现类似这种错误 /usr/bin/ld: /tmp/ccvavNMB.o:(.data.rel.ro._ZTV13FriendService[_ZTV13FriendService]+0x20): undefined reference to
fixbug::FiendServiceRpc::GetDescriptor()' /usr/bin/ld: /tmp/ccvavNMB.o:(.data.rel.ro._ZTV13FriendService[_ZTV13FriendService]+0x28): undefined reference to
fixbug::FiendServiceRpc::CallMethod(google::protobuf::MethodDescriptor const, google::protobuf::RpcController, google::protobuf::Message const, google::protobuf::Message, google::protobuf::Closure*)',应该如何编写调试文件