-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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 binary of the compiler does not contain the fix for long paths (v3.4.0) #3856
Comments
Could you please check if this cross compiled binary supports long path? |
thanks @pherl when I ran that exe, I received errors like following (no error if I ran with the binary that I compiled from source 3.4.0)
|
The zip I packaged didn't contain the well known type protos. Would it work if you copy the rest google/protobuf/*.proto from the 3.4.0 package? |
thanks for the hint. Now, that binary works with long path. Would you release that binary soon? |
I uploaded them in the 3.5.0 release. |
As per ticket #2891 the issue was fixed, the patch was merged to master. I can see it in source code of version 3.4.0 However, when I tried the precompiled binary downloaded from the release page (or downloaded from maven central repository https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.4.0/), the problem still occurs.
Then I tried to build it by myself using Visual Studio (2017) as advised by the patch contributor @laszlocsomor (#2969), it works! So apparently, the precompiled binary was not built with Visual Studio. Is it a mistake or there are caveats with Visual Studio that prevent the GA release from being built with Visual Studio? (but we need long path in Windows)
By the way, the Windows binary build is missing in release 3.4.1
The text was updated successfully, but these errors were encountered: