Build the Google protobuf Library

Protocol Buffers, also known as protobuf, is Google's language-neutral, platform-neutral, extensible mechanism that is used to serialize structured data.  

Build protobuf using the C++ installation instructions that you can find on the protobuf GitHub.

For example:

$ cd $BASEDIR/protobuf
$ git submodule update --init --recursive
$ ./
$ ./configure --prefix=$BASEDIR/protobuf-host
$ make

Arm has tested version 3.5.2. Some other versions might work.

Duration: About 15 minutes.

Next, copy the built program and its libraries and documentation to the correct locations using this command:

$ make install
Previous Next