Skip to content

Instantly share code, notes, and snippets.

View billgale's full-sized avatar

Bill Gale billgale

  • HERE
  • USA
View GitHub Profile
@madelinegannon
madelinegannon / protobuf-tutorial-mac.md
Last active April 4, 2024 12:52
Google Protobuf Tutorial for Mac and c++

How to Install and Run Google's Protocol Buffer Basics: C++ Tutorial on Mac

Tested on: macOS High Sierra v10.13.3

1. Install Google Protobuf

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:

  1. First, unzip the file.