-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
How distribute exe tools like protobuf compiler? #59
Comments
Packaging up EXEs is tricky, because when cross-compiling you really want to keep using the same For now, I think the best approach will be to only install the runtime and have consumers download the pre-built binaries from google: https://github.com/google/protobuf/releases. This should be stable since it's the recommended mechanism for all non-C++ languages. In the future, we need to figure out a solid mechanism for handling these sorts of tools+runtimes; ideally with a way for them to supply buildsystem integration as well. We very much don't want programs to be pulling their DLLs directly from inside |
Yes, building tools from source would be preferable, since then they are always in sync with their library components. |
How then compile grpc that depending on protobuf and protoc? Can
I think that copying with dependent dll's to installed\x64-windows\tools is fine too |
For similar tools like I can see arguments for using either |
BTW protobuf cmake contain function |
The approach that appears to work best for It was also quite straightforward to patch the See #88 for what this looks like in a portfile. |
Thank you |
Install pkg-config via brew
vcpkg install
return error:but we need protoc.exe for using protobuf library
The text was updated successfully, but these errors were encountered: