How compile *.proto?

When I run cmake .
I have errors:
-- Configuring done
CMake Error at CMakeLists.txt:251 (add_library):
Cannot find source file:

../src/hbase/if/AccessControl.pb.cc

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

How compile *.proto to *.pb.cc ?
How avoid proto version mismatch?
Last edited on
This is Google Protocol Buffer stuff, right?

From memory, the protobuf project provides a "compiler" that builds the API code from the .proto definition files.

And if you don't already know this, then you should be going to the protobuf documentation and reading that as your first priority.
Topic archived. No new replies allowed.