How to Install and Run Google's Protocol Buffer Basics: C++ Tutorial on Mac
Tested on: macOS High Sierra v10.13.3
Google's official README is here. Follow their instructions to install the special dependencies that mac needs.
The steps I share below are a combination of this gist, this gist, and this answer. The main difference is that I started by manually downloading the latest cpp release from google's release repo. If you start from there, here's what to do next:
- First, unzip the file.