背景
目的是为了使用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