You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, the native-image uses the Visual Studio compiler
To use this compiler, we can launch a new terminal with
Or we can use an existing terminal by running C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat (or a similar path to this)
However, when using Intellij IDEA with this plugin, the environment is not set by default, making the compilation not usable as is
My solution would be to add an option inside the graalvmNative of build.gradle that would look something like
And that runs the corresponding script to enable the environment before building
(sorry if there's already an alternative, I did not manage to find an easy one)
The text was updated successfully, but these errors were encountered:
So, the native-image uses the Visual Studio compiler
To use this compiler, we can launch a new terminal with
Or we can use an existing terminal by running
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
(or a similar path to this)However, when using Intellij IDEA with this plugin, the environment is not set by default, making the compilation not usable as is
My solution would be to add an option inside the
graalvmNative
ofbuild.gradle
that would look something likeAnd that runs the corresponding script to enable the environment before building
(sorry if there's already an alternative, I did not manage to find an easy one)
The text was updated successfully, but these errors were encountered: