[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
|
Installation | ![]() |
|---|
VIGRA can be downloaded from http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/vigra1.2.0.tar.gz.
VIGRA is known to work with the following compilers:
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.
> make
> 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.
[some path]/vigra/src/
vigra.dsw (C++ 6.0) or vigra.sln (C++.net) into Visual Studio
HasJPEG, HasTIFF, and HasPNG preprocessor flags.std::min() and std::max(). If you don't already have your own implementation you must activate the VIGRA implementation of these functions by defining the preprocessor macro VIGRA_NO_STD_MINMAX in the project settings.
vigraimpex.lib and the Examples)
|
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|