Installation Instructions

From Hero of Allacrost

Jump to: navigation, search
(Windows)
(MinGW (from Linux))
Line 61: Line 61:
==== MinGW (from Linux) ====
==== MinGW (from Linux) ====
-
This is a stub for cross-compiling an Allacrost.exe file for Windows from Linux. I will be writing it shortly.
+
These are instructions for cross-compiling Allacrost for Windows from Linux. I have only tested this using the sources from svn. You will need mingw installed on a Linux machine. In Debian or Ubuntu, this is as simple as "aptitude install mingw32".
 +
 
 +
Download the Allacrost dependencies from http://www.allacrost.org/staff/user/winter_knight/allacrost-win32-depends-mingw.zip. Unzip this file into your home directory. Now change to the root directory of your Allacrost source archive (ie ~/svn/allacrost/demo/). Execute the following:
 +
cp ~/allacrost-win32-depends/Makefiles/allacrost-Makefile .
 +
make
 +
 
 +
If you unzipped the allacrost-win32-depends-mingw.zip file into a directory other than ~, you will need to modify the LDFLAGS and INCLUDES directories in the Makefile appropriately. If, due to future changes to the allacrost project, this Makefile no longer works, you can find instructions for recreating it in ~/allacrost-win32-depends/HOWTO.

Revision as of 18:48, 9 June 2008

Personal tools