Friday, June 5, 2015

Compiling protobuf

How to build protobuf

git clone https://github.com/google/protobuf.git
sudo apt-get update
sudo apt-get install autoconf
sudo apt-get install Libtool
./autogen
./configure
make

Build protobuf jars

protoc --java_out=src/main/java -I../src \
     ../src/google/protobuf/descriptor.proto

bee-social