Protocol Buffers安裝

protobuf安裝:

0、安裝依賴:

$ sudo apt-get install autoconf automake libtool curl make g++ unzip

 

1、

    git clone https://github.com/protocolbuffers/protobuf.git
    cd protobuf
    git submodule update --init --recursive
    ./autogen.sh

2、

     ./configure
     make
     make check
     sudo make install
     sudo ldconfig # refresh shared library cache.

https://www.jianshu.com/p/00be93ed230c

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章