c++ - Error compiling grpc generated source -
im running issues compiling both example route_guide generated source own. im sure user error im not sure issue is. error seems hint grpc_final wasn't able find reference to.
$ protoc --version libprotoc 3.0.0
./route_guide.grpc.pb.h:29:2: error: expected expression public: ^ ./route_guide.grpc.pb.h:28:18: error: variable has incomplete type 'class routeguide' class routeguide grpc_final { ^ ./route_guide.grpc.pb.h:28:7: note: forward declaration of 'routeguide::routeguide' class routeguide grpc_final { ^ route_guide.grpc.pb.cc:25:18: error: incomplete type 'routeguide::routeguide' named in nested name specifier std::unique_ptr< routeguide::stub> routeguide::newstub(const std::shared_ptr< ::grpc::channelinterface>& channel, const ::grpc::stuboptions& options) { ^~~~~~~~~~~~ ./route_guide.grpc.pb.h:28:7: note: forward declaration of 'routeguide::routeguide' class routeguide grpc_final {
i able resolve issue uninstalling of grpc libs , headers , rebuilding v1.0.x branch.
Comments
Post a Comment