Ok, thanks to KuroShiro, here's a complete guide to compiling ResidualVM on Windows.Install GIT
Git is a version control system and you can download it here:http://git-scm.com/
When you install it, make sure you choose the option that adds to PATH. After that choose the recommended options for Windows.Get ResidualVM's source code from GitHub
Once you have GIT installed with a PATH set up correctly, go to the command prompt, navigate to the PARENT directory you'd like your "ResidualVM" directory to be in and type:
git clone https://github.com/residualvm/residualvm.git
It should then download the latest source into the current directory.
In future, to update the sources to the latest version, you can type:
git pullInstall MingW
This is a necessary step. Download and install MingW from: http://www.mingw.org/
(It's a bit confusing: Go to "Downloads" and then look for the .exe link near "Looking for the latest version?")
andMingW Developer Tookit (including MSYS)
Next is probably the most confusing part... Open up the command prompt in Windows and type 'path'. Make sure that all the MinGW directories are there. It should contain (assuming you installed to C:\MinGW)
at the end. Those should have been added by the install program, but if not, you'll have to add them manually. To do this, go to Computer -> System properties -> Advanced System Settings (it's on the left). Then click on the Environment Variable button, and in the bottom dialog box scroll down until you see the PATH variable, and double click it. Then add the directories listed above, making sure to have a semi colon before all the directory names.
You now have the ResidualVM source and a compiler, but you need libraries before you can compile and make a ResidualVM.exe.Install SDL Development Libraries
Download the SDL Libraries from here:http://www.libsdl.org/release/SDL-devel ... w32.tar.gz
Extract the files to a directory on your computer, then move the contents of the following folders to their respective MingW folders:
include\ to c:\MingW\include\
lib\ to c:\MingW\lib\
bin\ to c:\MingW\bin\Install zlib
Despite what the ResidualVM site says, you apparently need zlib installed, too. This is another fiddly step, but not too difficult.
Download zlib from:http://www.zlib.net/
(You want the source code, not the DLL.)
Copy the contents of the zlib source archive to a temporary folder, e.g. "c:\zlib".
Now open up MSYS. This is done by going to MingW Shell in your START menu. A window should open that looks very much like the normal command prompt.
Type the following:
make -f win32/makefile.gcc
After the code has compiled type:
cp -p libz.a /c/mingw/lib
cp -p zlib.h zconf.h /c/mingw/include
(Here's a guide to the basic commands of MSYS, if you're confused: https://users.cs.jmu.edu/bernstdh/Web/c ... /index.php
You need to go into MingW Shell (aka MSYS) again.
Simply navigate to your ResidualVM directory in the MingW Shell (see the above guide if you need help on that) and type:
./configure && make
At the end of the process you should have a (rather large) ResidualVM.exe in your ResidualVM folder. You've just compiled ResidualVM!
To strip out all the unnecessary debug gubbins and make a smaller, more efficient executable, type:
And you're done!