drhelius / Gearsystem

Sega Master System / Game Gear / SG-1000 emulator and debugger for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
267 stars 48 forks source link

Add Windows ARM64 support #102

Closed tordona closed 7 months ago

tordona commented 7 months ago

This is to add Windows on Arm build support specific to ARM64 native. GLEW was updated to newer v2.2.0 due to ARM64 not successfully compiling the necessary libs on v2.1.0. This also ensures all targets have the same GLEW version. I did add the older SDL2 deps version compiled for ARM64 to match the existing version in the project.

Regarding the Automatic builds. The Windows workflow should work as-is, up to the msbuld step. There will be an additional ARM64 folder. The artifact steps and archive binary may need updating, but I don't have experience in that.

Changes

Compiling

Test Devices

Issues Some installs of Windows 11 lack OpenGL drivers by default. This will cause Gearsystem to crash and have the process remain in suspended state. The issue can be resolved by installing the package called OpenCL, OpenGL, and Vulkan Compatibility Pack on the Microsoft store.

https://apps.microsoft.com/detail/9nqpsl29bfff

Screenshot Running on a Dell Inspiron 14 3420 showing the executable arch type as Arm64 in Task manager. Gearsystem is open with about screen.

gearsystem-arm64

drhelius commented 7 months ago

Awesome, thanks! Let me fix the build