Skip to content

cmake --build and #error This file was generated by an older version of protoc

Hello

I am new to Sila2 CPP implementation. I just have worked with Sila2 C#. I am using following platform: Dell XPS15 9500 Intel i7-10... 16BG Ubuntu 20.04 LTS

I followed the instruction for the installation and I have installed respectively it was installed:

  • Qt5 Core
  • gRPC
  • Avahi development libraries
  • OpenSSL development libraries

I have cmake version 3.16.3 installed und grpc version 1.32.0

For Sil2 CPP and on the step: cmake --build .

this is the output (I just pasted the first error message)

SiLAFramework.pb.h:17:2: error: #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.

I did not post all the output here. I can do this if you think that it is necessary.

Best Regards Edgar