Hi Team,
I have been trying to build our quarkus project natively following this article.
I'm running Windows 10 and upon building I got the below error.
Error: Default native-compiler executable 'cl.exe' not found via environment variable PATH
Error: To prevent native-toolchain checking provide command-line option -H:-CheckToolchain
com.oracle.svm.core.util.UserError$UserException: Default native-compiler executable 'cl.exe' not found via environment variable PATH
To prevent native-toolchain checking provide command-line option -H:-CheckToolchain
I have graalvm and the Microsoft Native Tools in my machine but still getting the above error.
As advised from the article. I created this bat file
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && mvn package -Pnative'
But still getting the same result. I tried looking for the above error from the internet but wasn't able to find a solution for this. Wondering if anyone got the same exception or is it just me
Thanks for the help.