-
下载protobuf 官网
-
解压下载的文件
-
cd到protobuf-x.x.x目录
-
$./configure
-
$make
-
$make check
-
$sudo make install (需要接着输入密码)
-
$which protoc
-
$protoc --version
下载protobuf 官网
解压下载的文件
cd到protobuf-x.x.x目录
$./configure
$make
$make check
$sudo make install (需要接着输入密码)
$which protoc
$protoc --version
本文标题:Mac OS X 安装protobuf
本文链接:https://www.haomeiwen.com/subject/udiwmttx.html
网友评论