[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
| Installation | ![]() |
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.
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 directopry and run configure with the appropriate relative or absolute path..
> 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.
[some path]/vigra/src/
vigra.sln into Visual Studio
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.
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).
[some path]/vigra/test/test.sln.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|