Building The Gamebook Engine from Source

From TheGamebookEngine

Jump to: navigation, search

Contents

Building For Linux

Make sure you have the necessary development Dependencies. Download, uncompress, and change directory into the source archive. Type "make" at the command line. That should be it. If your header or library files are in non-standard locations, you may need to add some environment variables to the command line.

Building For Windows

Cross Compiling from Linux

Download the latest version of the win32 Dependencies. Unpack them into a directory, such as ~. If you put these files into anywhere besides home, you will need to set the DEPEND_DIR environment variable when building. You will also need the mingw cross compiler installed, and you will need nsis if you want to build an installer.

Now, change directory into The Gamebook Engine's source archive directory. Type:

make -f Makefile.win

You may need to set some environment variables. For example, if you unpacked the win32 dependencies into /mnt/sda5, and your cross compiler is mingw-win32, execute the following:

make -f Makefile.win CXX="mingw-win32" DEPEND_DIR="/mnt/sda5"

To build the Windows installer, rather than a zip archive, execute

make -f Makefile.win win32-installer

Building for Windows with MSYS and MinGW

I have never done this. You may be able to adapt the Compiling for Windows from Linux instructions.

Building for Windows with Visual Studio

???

Personal tools