-
Notifications
You must be signed in to change notification settings - Fork 2.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
Can't build native image in windows10 #13206
Comments
I really think it lacks documentation for windows.
|
@dufoli mind contributing to the documentation with your suggestion? |
For the moment, I have write an extension cookbook. And My build still do not work fully on my env. So, I wait to have all info to make it working. |
@dufoli Thanks for your response. I installed the SDK and have a try.
There was a error "Unknown arguments". So i execute command manually, it still fail.
Here is the output:
|
@davidhua94 you have to run CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 inside your commande prompt (if you are on x64 system) before build to set up some env vars. |
Earlier this year, this worked for me: oracle/graal#1852 (comment) PS: Another hint: https://www.graalvm.org/docs/getting-started-with-graalvm/windows/#prerequisites-for-using-native-image-on-windows |
@dufoli @famod Thank you. I did it.
|
Version Info
jdk: 1.8.0_231
maven: 3.6.2
graalvm: graalvm-ce-java8-19.3.1
quarkus: 1.9.2.Final
Expected behavior
Compile success and generate a native image
Actual behavior
To Reproduce
Steps to reproduce the behavior:
mvn verify -Pnative
Additional context
Here is the full log.
maven.log
The text was updated successfully, but these errors were encountered: