Overview:

These are UNIX only instructions, but they might also work with a proper mingw or
cygwin system, that has support for all the needed requirements.

hugin uses the following libraries. make sure that they are completely
installed (including dev packages)

REQUIRED LIBRARIES/PACKAGES:

 - wxwindows 2.4.0 or higher (libary and development packages)
    hugin uses the XRC extension of wxwindows to build its
    dialogs.

    the XRC extension needs to be installed. You might
    need to install a wxwin-contrib (debian) or similar package if provided
    by your distribution, since most distributions do not include it
    in their default package.

    If you compile wxwindows from scratch, go to the contrib/src/xrc folder
    and compile and install xrc from there.

 - Panorama tools. Please DO NOT USE the versions from the original site.
   I'm using the version maintaned on sourceforge, http://panotools.sf.net

   Download it from:
   http://www.photocreations.ca/panotools/index.html (windows builds)
   or
   http://bugbear.blackfish.org.uk/~bruno/panorama-tools/ (linux rpm & sourcecode)
   see below if you want to compile the panorama tools yourself.

 - make,
 - boost, get it from www.boost.org (only needed for compilation)
 - gcc (tested with 3.2, 2.95 might also work)

COMPILATION:

These are the instructions for linux. see the WINDOWS_COMPILE.txt
if you compile on windows.

If you use the CVS source, please read HACKING before continuing

do the following in the hugin directory:
$ ./configure
   Configure might get confused if wxWindows 2.4 and 2.5 is installed
   at the same time (especially on debian).
   For example, debian ships wxWindows 2.5 as unicode enabled, so use
   ./configure --with-unicode=yes, else it configure will mix 2.4 and 2.5.

$ make
$ make install

If you do want to recompile your pano tools library:
 Please copy the libpano.so file to /usr/local/lib and the include files
 into /usr/local/include/pano12.

If you need to compile wxWindows, please use the following steps:
$ bzip2 -dv wxGTK-2.4.2.tar.bz2
$ cd wxGTK-2.4.0
$ ./configure --with-gtk --with-opengl
$ make
$ cd contrib
$ ./configure
$ make
$ cd ..
$ su  ( login as root )
$ make install
$ cd contrib
$ make install
$ ldconfig
$ exit  ( exit the root mode )

