]> Creatis software - clitk.git/blob - vv/ReadMe.txt
Initial revision
[clitk.git] / vv / ReadMe.txt
1 How to install and run vv on linux:
2
3 1.CMake :
4 Before doing anything, you need to download the latest stable release of CMake :
5         http://www.cmake.org/HTML/Index.html
6
7 Uncompress the file and add cmake to your path :
8         tar zxvf cmake-2.4.2-Linux-i386.tar.gz
9         tar xvf  cmake-2.4.2-Linux-files.tar
10         PATH=$PATH:/cmake/bin/directory    
11
12 2.ITK:
13 Download the latest stable release from their page or from their CVS repository :
14         http://www.itk.org/HTML/Download.htm
15
16 Uncompress it and rename the resulting folder as « Insight » :
17         tar zxvf InsightToolkit-2.6.0.tar.gz 
18         mkdir Insight
19         mv InsightToolkit-2.6.0 Insight
20
21 Still from your home, create a binary directory, get into it and run CMake :
22         mkdir Insight-binary
23         cd Insight-binary
24         ccmake ../Insight
25
26 NB : You can disable BUILT_EXAMPLES and BUILT_TESTS.
27
28 Then compile ITK:
29         make
30
31 3.Qt 4:
32 Download the latest stable release from their page :
33         http://trolltech.com/downloads/opensource 
34
35 Install it following instructions on :
36         http://doc.trolltech.com/4.3/install-x11.html
37
38 4.VTK:
39
40 Download the latest stable release from their CVS repository :
41         http://www.vtk.org/get-software.php
42
43 Create a binary directory, get into it and run CMake :
44         mkdir vtk-binary
45         cd vtk-binary
46         ccmake ../vtk
47
48 NB: you need to change built options to make it compatible with Qt. 
49         Set BUILD_SHARED_LIBS to ON,
50         Set VTK_USE_GUISUPPORT to ON
51         Set VTK_USE_QVTK to ON. Then, specify the Qt version you are using. 
52
53 Then compile vtk :
54         make
55
56 5.vv:
57
58 Download the latest release from the git repository :
59         git clone http://creatis.insa-lyon.fr/~schaerer/vv.git
60
61 Go inside the build directory:
62         cd vv/build
63
64 run cmake and compile it.
65         ccmake ..
66         make -j2