
The Source
----------

Here are some hints on how to compile the program(s) using the FOXlib.
Since I still did not figure out how to set up a configure script, it
is necessary to edit the Makefile; sorry for the inconvenience.

I am using GNU make, gcc and some self-written software (exfoxdefin,
foxmaph.c++) to set up a project. So once you did set up the FOXlib and
edited basics.makefile, everything else should run automatically. On
Windows I use MSys/MinGW that almost work as good as the GNU utilities
on Linux. It should also be possible to compile the programs on other
UNIXes or with other C++ compilers, however, I never tried.

In addition to the FOXlib you might need the developer version of the
jpeg-library (it is not included in MinGW). The source file is freely
available as jpegsrc.v6b.tar.gz or libjpeg6b_6b.orig.tar.gz, you will
find it with Google.
NOTE: you do not need it for "foxhearts", "charly" and "foxspider"

The code is released under the terms of the Gnu General Public License.
See COPYING for details.


How to compile
--------------

Get the FOX GUI library Version 1.6.x (http://www.fox-toolkit.org).
Older versions might still work, but I cannot promise that. I try to
incorporate the changes of the developer version 1.7.x, but again, it
might not work.

I always use the latest version of FOX, so I always install the library
in /usr/local and compile it myself. The Makefile assumes that you do the
same. Otherwise I have no clue how to help you.

To set up the FOX GUI library, simply run either:

  ./configure --enable-release --enable-shared=no
  make

or

  ./configure --enable-release
  make
  make install

The first method is more likely to succeed, the latter is necessary if
you want to use shared libs (dll). Under Windows it was once said that
this is difficult and I never tried. Under Linux it is only recommended
if your distribution does not already provide another version of the FOXlib.
The Makefile only looks for include-directories and libraries within the
FOX-directory itself (i.e. it is up to you to run a "make install" or not).

Now edit the file "basics.makefile". This is necessary because the Makefile
is tailored for my system. You only have to set some variables.

Run "make"

That's it. - I know, it could be easier, but I hope you give it a try.


Clemens Schiff   navire__AT__arcor__DOT__de
