wolfstudy commented on issue #4647: [cpp client] fatal error: 
google/protobuf/port_def.inc: No such file or directory
URL: https://github.com/apache/pulsar/issues/4647#issuecomment-507196469
 
 
   This issue has been fixed for the following reasons:
   
   Before I built the cpp client using `docker-build.sh`, I have already built 
the `PulsarApi.pb.h` file locally using `cmake. && make -j12 && make install`. 
The local version of protobuf used is 3.7, but the version used in 
`docker-build.sh` is `libprotoc 2.6.1`, these two versions are not compatible.
   
   ## Solution:
   
   Delete the two files `PulsarApi.pb.h` and `PulsarApi.pb.cc`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to