Forked from rajkrrsingh/Google protobuf installation on Mac
Last active
April 27, 2021 17:52
-
-
Save discort/c9ae864011deded84fb7dc4a89149936 to your computer and use it in GitHub Desktop.
Steps to Install google protobuf on Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$wget https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8/protobuf-python-3.15.8.tar.gz | |
$tar xvf protobuf-python-3.15.8.tar.gz | |
$cd protobuf-3.15.8 | |
$./configure CC=clang CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++ -O3 -g' LDFLAGS='-stdlib=libc++' LIBS="-lc++ -lc++abi" | |
$make -j 4 | |
$sudo make install | |
$protoc --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment