| |
jab
Registered: Apr 2020 Posts: 15 |
Release id #244776 : GoatTracker V2.76 - Silver Fork V1.1
Cool work RaveGuru!
Did anyone already do a native Windows build of this?
I got it to compile with a lot of trial and error using MSYS2 and SDL1.2 libs. The resulting goattrk2.exe starts and plays audio and seems to me to be working ok but I don't want to share it until someone with actual gt2 experience has tested it.
gt2reloc.exe also got compiled but it doesn't run. Other binaries didn't compile. So this is why I'm a bit wary of my goattrk2.exe build as well. |
|
| |
RaveGuru
Registered: Apr 2002 Posts: 43 |
Thank you jab! Great to see more people interested in getting this to compile/run. I haven't tested it on win* platforms. It's been quite straight forward to get it to compile on macOS. Mostly issues with lib paths and some minor (but annoying) warnings. |
| |
jab
Registered: Apr 2020 Posts: 15 |
Here are my build notes for the Windows binary I added.
Install MSYS2 somehow. I used Chocolatey:
choco install msys2
Start up MSYS2 and install some libraries. This list may be incomplete because there was some trial and error. The sdl12-compat libs also didn't work for me for some reason so I had to use actual legacy SDL 1.2.
pacman -S make mingw-w64-x86_64-toolchain mingw-w64-x86_64-SDL
Add /mingw64/bin to PATH to make sdl-config work
export PATH="$PATH:/mingw64/bin"
Clean up Mac object files that are in RaveGuru's archive
cd goattracker2/src
make clean
The included makefile.win won't work but we can use the default linux makefile, just overriding these constants
mkdir ../win32
make PREFIX=../win32/ SUFFIX=.exe
The compilation will eventually stop on some error but it did compile a working goattrk2.exe.
When testing on my ALD fellows' Windows machines we identified .dlls for SDL, libgcc, libstdc++ and libwinpthread that needed to be included with the exe. |