Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows下编译protoc #31

Open
Morain-Miao opened this issue Dec 21, 2020 · 3 comments
Open

windows下编译protoc #31

Morain-Miao opened this issue Dec 21, 2020 · 3 comments

Comments

@Morain-Miao
Copy link

image

去下载protoc
https://github.com/protocolbuffers/protobuf/releases

protoc-3.14.0-win64.zip

解压缩,之后将\protoc-3.12.3-win64\bin加入环境变量

打开CMD窗口,输入protoc --version可以看到版本号

此时,还会报错。最重要的一步是将bin文件夹中protoc.exe拷贝到C:\Windows\System32下

此时解决此报错。

希望加入到说明文档。

@huafeis
Copy link

huafeis commented Jan 14, 2021

是的,按照你说的已经成功了,谢谢

@liulangwa
Copy link

这不叫编译吧

@cuiko
Copy link

cuiko commented Jan 25, 2021

macOS 也遇到了一样的问题...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants