59 minutes ago, TomXP411 said:
Thanks.
I was trying to build it myself, but not having much luck. I don't know which build tools I need for Windows, and the Visual Studio project I have doesn't build the current version of the emulator. If anyone else has built this on Windows, it might be nice to add a "How to build on Windows" doc to the repository.
The Makefile is setup to do a cross-build, using MinGW to build a Windows .exe from Linux or iOS. The catch is, it is very specific to Michael's build environment, with hard-coded paths, at least one username, and other assumptions about the build environment, including a custom-built SDL2 implementation.
It should be possible to clean some of this up, but we'd want to coordinate with Michael to make sure we don't break his ability to create release packages. It would be almost ideal if someone were to create a CMake script, but again we'd want to coordinate with Michael.
In the meanwhile, there is no native Windows build configuration, nor a true cross-platform build configuration a la CMake. The best I can offer is that you can use the environment I setup for myself, using Visual Studio Community 2019:
git clone https://github.com/indigodarkwolf/x16emu-vs2019
Enter the x16emu-vs2019 directory
git clone https://github.com/commanderx16/x16-emulator
Open x16emu.sln
Press F5 to build
Note that if Michael accepts the PR that reorganizes the emulator code files, that VS2019 sln will need to be updated accordingly. It's not hard, though-- basically, just delete all the entries under "x16-emulator" and then drag all the source files from the emulator back into that folder in VS2019. ?