0

I tried to install grpc by executing the following

git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
cd grpc
git submodule update --init
make

But when I run make, I get the message "#error This file was generated by an older version of protoc which is"

But, I have the latest protoc installed ...

/usr/bin/protoc --version
libprotoc 3.2.0
Abhilash
  • 85
  • 3
  • 11
  • It would help if you would show the full error, especially telling which file is causing an issue. – Nicolas Noble Feb 15 '17 at 01:25
  • I have published a [docker image](https://hub.docker.com/r/plusangel/grpc-cplusplus-ubuntu18) that you can use in Ubuntu Bionic - it might help somebody :) – angelos.p Nov 04 '19 at 12:57

1 Answers1

0

Posting an answer to my own question ...
The issue gets resolved when I remove the third party protobuf files before running install.

rm -rf third_party/protobuf

I am not exactly sure why this works though ...

Abhilash
  • 85
  • 3
  • 11