I'd like to add build instructions for those who might be already have installed MAME's MSYS2/Mingw build tools.
1. Install older SDL libraries (1.2.15-8 at this moment)
run msys shell (C:\msys64\buildtools.bat) then type
- Code: Select all
pacman -Sy mingw64/mingw-w64-x86_64-SDL
pacman -Sy mingw32/mingw-w64-i686-SDL
2. Install TortoiseSVN and download source code as per Bart's manual Tasks 5 and 6
3. Change SDL location in makefile: open C:/model3emu/Makefiles/Makefile.Win32 in text editor, then find
- Code: Select all
SDL_INCLUDE_DIR = C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/include/SDL
SDL_LIB_DIR = C:/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/lib
and replace with
- Code: Select all
SDL_INCLUDE_DIR = C:/msys64/mingw64/include/SDL
SDL_LIB_DIR = C:/msys64/mingw64/lib
4. Compile Supermodel
run msys shell (C:\msys64\buildtools.bat) then type
- Code: Select all
cd c:/model3emu
make -f Makefiles/Makefile.Win32 clean
make -f Makefiles/Makefile.Win32 -j4
note: -j4 switch tells to use 4 threads/cores, you may wish to change number according to your CPU capabilities.