Skip to content
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

Make binaries for Windows on ARM64 to be officially supported. #351

Open
carlo-bramini opened this issue Jul 28, 2024 · 4 comments
Open

Comments

@carlo-bramini
Copy link

carlo-bramini commented Jul 28, 2024

I'm wondering if a binay package for Windows on ARM64 (WOA) could be made available.

I would like to signal my fork, with the purpose to make public Milkytracker binaries for the above platform:
https://github.com/carlo-bramini/MilkyTracker
However, it would be great if WOA could be officially supported here.

Installing the tracker from source code is done by using Visual Studio 2022.
Community edition is enough for doing it.
Build tree can be initialized with CMake or by opening the directory from the IDE.
Obviously, the user will need to select ARM64 instead of x86 or x64 and, nowadays, this is the only difference.

Otherwise, it is also possible to build Milkytraker by using clang or GCC-15 development branch with an experimental but fully working support for WOA, which will be officially released next year, according to latest news.

Thank you very much for your time.

@coderofsalvation
Copy link
Contributor

what exactly of the fork can we use for ARM64? any commits you want to highlight?
Best for milkytracker if you/we could extend the appveyor.yml file to add ARM64 as a target.

@carlo-bramini
Copy link
Author

what exactly of the fork can we use for ARM64? any commits you want to highlight?

I have not changed anything into the source code.
I just did a clean fork and I have synced the changes made here before compiling.

@coderofsalvation
Copy link
Contributor

can you link/attach the ARM64 binary here somehow? then we can add it to the release for now.

@carlo-bramini
Copy link
Author

carlo-bramini commented Dec 4, 2024

I uploaded version 1.05.01 on my repo here:
https://github.com/carlo-bramini/MilkyTracker/releases/tag/v1.05.01
These are the steps to follow for building MilkyTraker for Windows on ARM64:

  • Download the source package or clone latest sources from GIT.
  • Start CMakeGUI, then set source code location (1), binary location (2) and finally press "Configure" button (3):
    immagine
  • If the software warns you that destination directory doesn't exist and it asks you if you want to create it, press "Yes":
    immagine
  • Into the configuration dialog, select "ARM64" from the available platforms and press "Finish"
    immagine
  • After configuration process finishes, press "Generate" button and then "Open Project" button:
    immagine
  • After Visual Studio opened the project, select your configuration:
    immagine
  • Finally, start the compilation and wait that it finishes.
    immagine

That's all.
Into the output directory you will find the executable of MilkyTracker, ready to be used on on your PC with Windows for ARM64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants