Created
February 9, 2019 13:56
-
-
Save himaprasoonpt/16a5f1325cb5e25a7227844d392ce559 to your computer and use it in GitHub Desktop.
Google protobuf installation 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.6.1/protobuf-all-3.6.1.tar.gz | |
tar xvf protobuf-all-3.6.1.tar.gz | |
cd protobuf-3.6.1 | |
./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