Installation Instructions

From Hero of Allacrost

Jump to: navigation, search
(Visual Studio (VS) 2005)
(combined Linux and OSX compile instructions. Made the Linux/OSX instructions have less words. Spelling correction in Windows instructions, and made "Visual Studio" a subheading of Windows.)
Line 37: Line 37:
== Building and Installing from Source ==
== Building and Installing from Source ==
-
Installing from source means you will have to compile the game yourself. But first, you'll need the Allacrost code. Either get the tarball from our [http://www.sf.net/projects/allacrost Sourceforge] page, or check it out from our [[Subversion Repository]].  
+
Installing from source means you will have to compile the game yourself. But first, you'll need the Allacrost code. Either get the tarball from our [http://www.sf.net/projects/allacrost Sourceforge] page, or check it out from our [[Subversion Repository]].
-
=== GNU/Linux ===
+
=== GNU/Linux and OS X ===
-
If you are compiling from source for the first time, you will first have to execute the following command from inside the {{ Filename | allacrost/ }} directory:
+
Inside a terminal, execute the following commands from inside the {{ Filename | allacrost/ }} directory:
  autoreconf -i
  autoreconf -i
-
After that run:
 
  ./configure && make
  ./configure && make
-
followed by an optional
+
  sudo make install
-
  make install
+
-
=== OS X ===
+
Note that "make install" is optional, and you must run it as root, or use sudo. You can run allacrost from within the source {{ Filename | allacrost/ }} directory by running "./allacrost".
-
 
+
-
From the Terminal you may follow the same commands as listed for Linux.
+
=== Windows ===
=== Windows ===
-
== Visual Studio (VS) 2005 ==
+
==== Visual Studio (VS) 2005 ====
Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive.
Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive.
Line 63: Line 59:
Unzip include, lib, and libintl into a directory of your choice. Set include and lib dirs in VS 2005 appropriately.
Unzip include, lib, and libintl into a directory of your choice. Set include and lib dirs in VS 2005 appropriately.
-
If you have this error message "cant't link to jpegd.lib", try copy jpeg.lib and rename it as jpegd.lib. Or, you can compile a release version instead of a debug version.
+
If you have this error message "can't link to jpegd.lib", try copy jpeg.lib and rename it as jpegd.lib. Or, you can compile a release version instead of a debug version.
At last, you have to copy all dll files to your project directory. (you can find those in allacrost windows demo directory, download from sourceforge)
At last, you have to copy all dll files to your project directory. (you can find those in allacrost windows demo directory, download from sourceforge)
This does not include the map editor, you have to install QT for compiling that.
This does not include the map editor, you have to install QT for compiling that.

Revision as of 11:04, 22 March 2008

Personal tools