Skip to content

Instantly share code, notes, and snippets.

@krisfoster
Last active September 13, 2021 14:18
Show Gist options
  • Save krisfoster/f2eec30a4e919a99e28a126fc656aaa7 to your computer and use it in GitHub Desktop.
Save krisfoster/f2eec30a4e919a99e28a126fc656aaa7 to your computer and use it in GitHub Desktop.
Setting up Native Image on Windows
Scott's Instructions
===================================================
https://swseighman.github.io/Native-Image-Windows-10/
https://github.com/swseighman/Native-Image-Windows-10
Install:
* choco
* install windows-sdk-10
* kb2919442
* VS Build Tools
Use the Microsoft C++ toolset from the command line
===================================================
https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-160
Search in the start menu for the devcmd prompt
then native image should work
Licenses:
====================================================
https://social.msdn.microsoft.com/Forums/en-US/08d62115-0b51-484f-afda-229989be9263/license-for-visual-c-2017-build-tools?forum=visualstudiogeneral
Think,for VS Build Tools, Commercial licensing is needed, BUT you maybe only need a few build servers to do the windows builds.
Prior to that you could build in docker linux containers, moing to windows builds when you are sure everything works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment