compile-custom fails on Windows 10
See original GitHub issueIt works on Ubuntu, MacOS but fails on Windows 10. Using below execution configutration (with kroto-plus.version = 0.5.0)
<execution>
<id>grpc-coroutines</id>
<goals>
<goal>compile-custom</goal>
</goals>
<configuration>
<pluginId>kroto-plus</pluginId>
<pluginArtifact>com.github.marcoferrer.krotoplus:protoc-gen-kroto-plus:${kroto-plus.version}:jar:jvm8</pluginArtifact>
<pluginParameter>ConfigPath=./krotoPlusConfig.asciipb</pluginParameter>
</configuration>
</execution>
Windows Info:
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: windows
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.0
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: windows-x86_64
Failed Error Logs:
[INFO] --- protobuf-maven-plugin:0.6.1:compile-custom (grpc-coroutines) @ blueprint-proto ---
[INFO] Compiling 4 proto file(s) to C:\git\modules\target\generated-sources\protobuf\kroto-plus
[ERROR] PROTOC FAILED: --kroto-plus_out: protoc-gen-kroto-plus: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
[ERROR] C:\git\modules\components\proto-definition\proto\CommandExecutor.proto [0:0]: --kroto-plus_out: protoc-gen-kroto-plus: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Troubleshooting Build Customizations | Microsoft Learn
If your custom build steps or events are not behaving as you expect, there are several things you can do to try to...
Read more >Windows 10: error: failed to run custom build command for ...
I get an error when I use openssl on Windows. error: failed to run custom build command for `openssl-sys v0.9.40` process didn't exit ......
Read more >Unable to compile custom-ops built against TF2.4 (Windows)
I'm attempting to compile TensorFlow Addons built against TF2.4rc3 but am running into an error on Windows builds. It's compiled using MSVC2019 and...
Read more >Windows: compiling custom FW gives errors - Developer
Hi all, following the instructions in http://community.axoloti.com/t/using-custom-firmware/1486?u=mikeanblips I wanted to move my first baby ...
Read more >python - g++ fails to build custom TensorFlow GPU op on ...
I'm trying to compile a custom GPU op for TensorFlow on Windows 10 (build 17134), with TensorFlow installed with pip3 -install --upgrade ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Using
0.6.0-SNAPSHOT
and removing:jvm8@jar
from the artifact in my protobuf config got this working on Windows for me.My full protobuf config is:
I pulled in the
0.6.0-SNAPSHOT
version and changed the line to look like:and then I get successful
generateProto
andcompileJava
sequences. Thanks!Will this then be released?