如何在 Mac M1 ARM 上安装 Protobuf 编译器(Protocol Buffers / protoc)?
How do you install the Protobuf Compiler (Protocol Buffers / protoc) on Mac M1 ARM?
这是 Protocol Buffers / Protobuf link Github
https://github.com/protocolbuffers/protobuf
我应该按照 C++ 安装说明进行操作吗?
Mac M1 ARM 架构没有预构建的二进制文件。
"Protocol Compiler Installation
The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.
For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:
https://github.com/protocolbuffers/protobuf/releases
In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf."
截至 7 月 2 日,Mac M1 ARM 二进制文件的预计交付时间为 4 个月。
这是 Protocol Buffers / Protobuf link Github
https://github.com/protocolbuffers/protobuf
我应该按照 C++ 安装说明进行操作吗?
Mac M1 ARM 架构没有预构建的二进制文件。
"Protocol Compiler Installation
The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.
For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:
https://github.com/protocolbuffers/protobuf/releases
In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf."
截至 7 月 2 日,Mac M1 ARM 二进制文件的预计交付时间为 4 个月。