Skip to content

Instantly share code, notes, and snippets.

View guysung's full-sized avatar

Guysung Kim guysung

  • Carmel, IN
  • 14:38 (UTC -04:00)
View GitHub Profile
@guysung
guysung / protobuf-tutorial-mac.md
Created April 19, 2023 00:56 — forked from madelinegannon/protobuf-tutorial-mac.md
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.