Installation
============

The code has been compiled and tested on Linux, Windows, and
MacOSX. It should be ported to other platforms easily, because it
depends only on OpenGL, GLUT, and other portable components. Actually,
there is a port for FreeBSD at least for the last release -- thank
Igor Pokrovsky and others who worked on the port.

For Linux or MacOSX (or perhaps most unix flavours)
=========================================

Just invoke "make".

For Windows
===========

Prepare MinGW libraries (bzip2, libpng, pthread, and zlib) under
"mingw/inc" and "mingw/lib" directory and invoke "make" in the cygwin
environment. These libraries can be found at
http://gnuwin32.sourceforge.net/ and
http://sources.redhat.com/pthreads-win32/.

# Notes on MinGW: because libpng, etc. seem not to be updated for a
# while, I've compiled static libraries for bzip2, libpng, and zlib
# for creating the executable and for preparing an archive for
# Windows. Versions of these libraries are the followings:
# * bzip2-1.0.3
# * libpng-1.2.12
# * zlib-1.2.3

When running fv.exe, you need DLLs of the above libraries and
glut32.dll. It is also recommended to use the fixed version of
glut32.dll by Rob Fletcher, found in
http://www-users.york.ac.uk/~rpf1/glut.html. The famous binary
provided by Nate Robin has a problem in closing a window.
