Part I)  Windows Install
Part II) Linux Install

------------------

Part I - Windows Install)

1. Download MinGW.

ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/gcc-2.95.2-msvcrt.exe

This is a self extractor. You need to install to a directory with no spaces in it
(Something like c:/MinGW-2.95.2), then add the /bin directory to the PATH variable.

path=%path%;c:\MinGW-2.95.2\bin

------------------
2. Add the OpenGL headers to the MinGW include directory.

http://www.cim.pe.u-tokyo.ac.jp/~kawachi/software/cygwin_glut-e.html

You just need to copy gl.h, glu.h, glut.h into c:\mingw-2.95.2\include\GL.

------------------
3. Download extras for MinGW.

ftp://www.remstar.com/pub/wxwin/ports/mingw32/extra.zip

Extract this into the MinGW-2.95.2\bin folder.

------------------
4. Download wxWindows for MSW.

ftp://www.remstar.com/pub/wxwin/2.2.6/wxMSW-2.2.6.zip

Extract this into a directory with no spaces in it. (Something like c:\wx2.2.6)

Alternatively, download another stable version from www.wxwindows.org
(like 2.2.9).

------------------
5. Set up wxWindows for MinGW.

This is stuff from the docs\msw\install.txt wxwindows file.

a. Modify the \src\mingw32.bat file to set the right directories.
b. Modify the \src\makeg95.env file to set the proper version of MinGW (to 2.95.2)
c. Modify the \src\makeg95.env file to remove the --pipe option from the compile

------------------
6. Set up wxWindows for vuVolume.

a. Modify the \include\wx\msw\setup.h file to set #define wxUSE_GLCANVAS 1

------------------
7. Build wxWindows.

make -f makefile.g95

in the \src\msw directory of wxWindows.

------------------
8. Set up vuVolume

a. Modify the \make.env to set the OS to WINDOWS.
b. Modify the \make.env to set the NVIDIA_EXT to YES if you have a graphics card
    which supports the NVIDIA OpenGL extensions, NO otherwise.

------------------
9. Build vuVolume

make

in the main directory of vuvolume

------------------
10. Run vuvolume

run:

$(SRCDIR)\vuGui\vuGui.exe

Part II - Linux Installation)

------------------
1. Download wxWindows for Linux.

www.wxwindows.org

Extract this into a directory with no spaces in it.

Download version 2.2.9 or 2.2.6.  If possible, use wxwindows for GTK.

------------------
2. Set up wxWindows for MinGW.

a.) ./configure --with-GTK --with-opengl
b.) make

(NB, if you are not using GTK, then you should read through the install files
that came with your download).

------------------
3. Build wxWindows.

make

in the main directory of wxwindows

------------------
4. Set up vuVolume

a. Modify the \make.env to set the OS to LINUX.
b. Modify the \make.env to set the NVIDIA_EXT to YES if you have an NVIDIA card
which supports the NVIDIA Extensions to OpenGL, otherwise set NVIDIA_EXT to NO.
c. Modify the make.env to set the correct SRCDIR
d. Modify the make.env to set the correct WXDIR
e. Modify the make.env to set the STDINCL to the correct incls library.

------------------
5. Build vuVolume

make

in the main directory of vuvolume

------------------
6. Run vuVolume

type ./vuGui in $(SRCDIR)/vuGui/ to run vuVolume.
