Compiled a .zip yesterday with what you need to build RetroArch from source. Should help out people who can’t wait for new binaries, and have never compiled from source before. Includes latest Win64 GCC toolchain from MinGW-w64 project (rubenvb 4.8.0), and latest release of Git for Windows (git-bash). Hopefully it’ll “just work” for you. No installation required, and should run from a memory stick.
New toolchain (2013-09-14) I’ve uploaded a new toolchain: http://themaister.net/retroarch-dl/MinGW-win64-RetroArch-dev-winpthread.7z (~91MB) I’ve bundled this toolchain: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.8.1/threads-posix/sjlj/. Otherwise, it’s mostly unchanged.
Important things to note:
- It uses POSIX thread model. If you distribute builds made with this, make sure you use the latest RetroArch redist (v6), or people will get errors with libwinpthread-1.dll missing.
- I’ve bundled static zlib now. Should make compiling certain cores a lot simpler.
- wget is bundled, you can now download the redist directly when building RetroArch.
Building RetroArch from scratch is now:
- Start shell
- git clone git://github.com/Themaister/RetroArch.git
- cd RetroArch
- make -f Makefile.win libs_x86_64 # This will download redist and extract it automatically
- make -f Makefile.win -j4
- You should see lots of CC <file>, and LD retroarch.exe at the end with no errors.
Otherwise, see below.
I noticed you had to use CC=gcc CXX=g++ ./libretro-build.sh in libretro-super. This might have been the case before. I usually just cross-compile in Linux.
Old toolchain Link: https://anonfiles.com/file/34f8b1a8c0f078d220c0bd89ea21b03c (~65MB) EDIT: New link.
Start the shell by running Git bash.vbs in top folder. You should be able to clone RetroArch repo and follow this compilation guide: https://github.com/Themaister/RetroArch/wiki/Compilation-guide-(Windows)
If you have never done any compilation before: Step by step (first time):
- Start shell
- git clone git://github.com/Themaister/RetroArch.git
- You’ll need to download headers and libs as described in compilation guide and extract them to the cloned RetroArch folder.
- cd RetroArch
- make -f Makefile.win -j4
- You should see lots of CC <file>, and LD retroarch.exe at the end with no errors.
If you have already cloned (to update RetroArch):
- Start shell
- cd RetroArch
- git pull
- make -f Makefile.win clean
- make -f Makefile.win -j4
To build Phoenix:
- Start shell
- cd RetroArch-Phoenix
- git clone git://github.com/Themaister/RetroArch-Phoenix.git
- cd RetroArch-Phoenix
- make clean
- make
To update Phoenix, similar procedure as RetroArch.