The easiest way to enjoy THIRSTY NELLAN is to use the precompiled executables for Windows and Linux, included in the download.  However, if you want to make changes to the code, or if the version you downloaded did not included precompiled executables, then here are some basic guidelines:

FOR LINUX:
THIRSTY NELLAN was developed with Qt 2.3.2.  Using older or newer versions of Qt may cause unexpected results.  Someday I would like to update the game to work with newer versions of Qt, but I have no immediate plans to do so.

1. Edit the 'nellan.pro' file to indicate the location of Qt on your computer (for example):
DEPENDPATH=/usr/lib/qt2/include

2. Create a Makefile with the 'tmake' utility, freely available from Trolltech (www.trolltech.com)
type:
tmake nellan.pro -o Makefile

3. Compile the program by typing
make

4. Be sure to copy the resulting executable to the main "nellan" directory before running it, otherwise it won't know where to find the graphics and audio files.

5. In order for sound to work properly in the Linux version, you must have Network Audio System, aRts, /usr/bin/play, /usr/bin/playwave, OR Java >= 1.2 installed.

NOTE: For those two are using the precompiled binary, but get an error about libstdc++.so.2.9, here is the workaround:
 (a) Download file from http://www.cs.utah.edu/~draperg/programming/libstdc++.so.2.9.gz
 (b) gzip -d libstdc++.so.2.9.gz
 (c) cp libstdc++.so.2.9 /usr/lib  # you need to be root to do this!
 (d) Play the game as normal.
------------------------------------------------

FOR WINDOWS:
1. You need to have Microsoft Visual C++ 6.0 installed on your computer, as well as Qt 2.3. (Note: I compiled THIRSTY NELLAN using the "Qt Non-Commercial Edition for Windows", which Trolltech has unfortunately discontinued.  So to compile THIRSTY NELLAN, you will need to use either the Educational or regular Commercial versions.)

2. Make sure you have Visual C++ properly configured for Qt (instructions are included with the Qt download).

3. Double click on the "nellan.dsw" file in Windows Explorer, and the project will automatically load.

4. Compile it by pressing F7.

5. Be sure to change your "Working Directory" under Project Settings to the main nellan directory so that the program can find the graphics and audio files.

Last updated: 5 January 2005
