INSTALLATION
REQUIREMENTS:
cmake >= 2.4.7
BOOST >= 1.34.0
ANSI C++ compiler -
GNU g++ >= 3.3
INTEL icpc >9.0 (tested)
MS Visual C++ 2005 (tested)
SUPPORTED Platforms:
OPTIONAL:
libTIFF
libpng
OpenEXR
MatLab (7.1)
IDL ( >= 6.0)
COMPILE:
on MAC OSX, LINUX, (and UNIX):
cmake -DCMAKE_INSTALL_PREFIX=<install path> <path to mia2 source root>
make
TESTING:
make test
INSTALLATION:
make install
on MS Windows:
cmake -DCMAKE_INSTALL_PREFIX=<install path> -G "NMake Makefiles" <path to mia2 source root>
nmake
or
CMakeSetup + Compile in Visual Studio
Specifics about using MIA with matlab on GCC compiled systems:
To use MIA with MatLab, it needs to be compiled with the same C++ ABI
version Matlab was compiled with.
Specificall, MIA and BOOST should link to the very same version of libstdc++.
In case of MatLab 7.1 this is libstdc++.so.5.
One also should remove the libraries libstdc++.so.* and libgcc_s.so.* that are provided
by MatLab and use the system wide ones - these libraries usually reside in
<MatLab-ROOT>/sys/os/<YourOS>/