-
Notifications
You must be signed in to change notification settings - Fork 274
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 can I compile proto files using Protobuf Editions #751
Comments
If using cmake, use the PROTOC_OPTIONS in protobuf_generate. Example:
|
any idea how we can fix the issue in windows? |
For windows, I got it fixed by using a newer version of protoc.
|
This plugin is a gradle plugin - I'm not quite sure where cmake would come into the mix here. I tried upgrading to the latest protoc, but I can't figure out how to pass the protoc {
artifact = "com.google.protobuf:protoc:4.29.1"
} |
Im using the plugin wit
4.26.0
protoc version and I try to compile a file that looks like this:and it results with the following error:
Is there a way to pass this flag to the proto compiler?
The text was updated successfully, but these errors were encountered: