[go: up one dir, main page]

Menu

[r990]: / mia2 / README  Maximize  Restore  History

Download this file

51 lines (36 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>/