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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -