Skip to content

Instantly share code, notes, and snippets.

View atifkarim's full-sized avatar
🎯
Focusing

MD Atif Bin Karim atifkarim

🎯
Focusing
View GitHub Profile
@atifkarim
atifkarim / protobuf-tutorial-mac.md
Created February 1, 2022 21:59 — 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.