背景
目的是為了使用tensorflow object detection API。但是ubuntu16.04預設安裝的是protoc 2.6.1 不滿足需求。需要更新protoc版本到3.4.1
安裝步驟
-
sudo apt-get install autoconf automake libtool curl make g++ unzip
-
下載下傳3.4.1版本https://github.com/protocolbuffers/protobuf/releases
- 解壓然後
./configure
-
make && make check && sudo make install
-
sudo ldconfig