In order to make a development environment a couple of libraries need to be installed.
Step 1 - Setting up Qt 3, VTK 4 and GSL
Download the packages at the following addresses:
See the chapter download locations for further details.
And follow installation instructions of each package.
Make sure the QTDIR, VTKDIR, FSLDIR and GSLDIR environment variables are set to the Qt,
VTK, FEAT and GSL root directories. It is recommended that you compile Qt, VTK, FEAT and
GSL from source, we can not guarantee that pre-compiled packages contain all necessary
functionality.
On most Linux distributions QT 3 is already installed.
Step 2 - Preparing your compiler
GCC:
Make sure you have version 2.95.x or later, no further preparations should be necessary.
Microsoft Visual C++:
Make sure you have MSVC 6 or higher and installed the multi threading libraries. Also make sure
the LIB and INCLUDE environment variables does not contain paths with spaces (instead use
"C:\PROGRA~1\MICROS~4\...") due to bugs in the Program Maintenance Utility.
Step 3 - Optional settings
To set the language that is compiled set the LANGUAGE environment variable to (EN or NL). The
default language is English.
Step 4 - Compiling
Linux:
Run './configure' to start the configuration process. If you want to have a Debug version
use './configure -d' to start the configuration process. After the configuraion process
run 'make'. If you want to make a complete rebuild run 'make clean' first
Windows:
Run 'configure.bat' to start the configuration process. If you want to have a Debug version
use 'configure.bat -d' to start the configuration process.After the configuration process
run 'nmake'. If you want to make a complete rebuild run 'nmake clean' first
Step 5 - Running
UNIX:
In the 'APP/bin' directory is a file app, make sure this file is executable and run it, it will
automatically register the library directories and start the main binary.
Windows:
In the APP root directory is a subdirectory bin with all the binaries. Start the app.exe file in that
directory.
Download Locations
QT
Download location: http://www.trolltech.com/download/qt/x11.html
installation instructions: ftp://ftp.trolltech.com/qt/source/INSTALL
VTK
download location: http://www.vtk.org/get-software.php
Installation instructions:
Download CMAKE from: http://www.cmake.org/HTML/Index.html
install CMAKE
Configure VTK with CMAKE
Compile VTK
GSL
download location: http://www.gnu.org/software/gsl/#downloading
Installation instructions:
Download GSL
Unzip GSL-binairies
run configure
make
FEAT
download location: http://www.fmrib.ox.ac.uk/fsldownloads/
Installation instructions: http://www.fmrib.ox.ac.uk/fsl/
When using Windows, installing of Cygwin is needed.
|