[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
VIGRA can be downloaded from http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/vigra1.6.0.tar.gz.
VIGRA is known to work with the following compilers:
VIGRA is known NOT to work with the following compilers:
VIGRA should work with any standard conforming C++ compiler.
run configure
:
> cd <vigra_path> > ./configure --prefix=/your/install/path --exec-prefix=/your/bin/install/path \ --with-cc=gcc --with-cxx=g++ \ --with-jpeg=/path/to/libjpeg/installation \ --with-tiff=/path/to/libtiff/installation \ --with-png=/path/to/libpng/installation \ --with-zlib=/path/to/zlib/installation \ --with-fftw=/path/to/libfftw/installation
Of course, the flags given to configure
may vary for your build. In particular, if you drop --with-jpeg
, --with-tiff
, or --with-fftw
, VIGRA will be build without support for these libraries. Invoke configure --help
for a complete list of options, default settings and explanations.
On a LINUX system, it is often possible to run configure without any options.
You can also create a dedicated build directory, e.g. to facilitate parallel installations on multiple platforms. You must cd into this directory and run configure with the appropriate relative or absolute path.
build the library, execute the tests, and compile the Examples :
> make > make test > make install > make examples
Besides /your/bin/install/path/lib/libvigraimpex.a
and the html-documentation, this also installs a programm /your/bin/install/path/bin/vigra-config
. This programm supports the compilation of software which depends on VIGRA by returning the neccessary compiler and linker settings. For example,
> vigra-config --cppflags -I/your/install/path/include -I/path/to/libfftw/include
Call vigra-config --help
for a complete list of options. You may also look at <vigra_path>/src/examples/Makefile
for a usage example.
Uncompress and unpack the source distribution, or run the binary installer Setup-Vigra-1.6.0.exe.
Go into the directory [some path]/vigra/src/
Load the workspace vigra.sln
into Visual Studio
Specify in the project settings if and where JPEG, TIFF, PNG, and FFTW libraries are installed:
vigraimpex_dll
and update the paths to the include and library files for libjpeg, libtiff, libpng, and libfftw HasJPEG
, HasTIFF
, and HasPNG
preprocessor flags and the entries referring to these libs in the linker dependencies of the "vigraimpex_dll" project. Build the workspace (that is, the library vigraimpex.dll
and the Examples) and move [some path]/vigra/src/impex/vigraimpex.dll
to a directory where Windows finds it (or add the appropriate path to the Windows PATH environment variable).
The Examples can now be invoked from the command line (DOS prompt).
The VIGRA test suite can be similarly compiled and executed by loading the solution [some path]/vigra/test/test.sln
.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|