How to build Google’s protobuf in MacOS

Build

  1. water@waters-MacBook-Pro:~/Downloads/protobuf-3.5.1$ ./autogen.sh
  2. water@waters-MacBook-Pro:~/Downloads/protobuf-3.5.1$ ./configure
  3. water@waters-MacBook-Pro:~/Downloads/protobuf-3.5.1$ make
  4. water@waters-MacBook-Pro:~/Downloads/protobuf-3.5.1$ make install
  5. water@waters-MacBook-Pro:~/Downloads/protobuf-3.5.1$ protoc --version
  6. libprotoc 3.5.1

Leave a Reply

Your email address will not be published. Required fields are marked *