<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(32,18,77)">
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Dear
VV users,</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">I
want to thank every person that has helped me finally build VV
properly on my workstation by sharing my experience, the problems I
came across and how they were solved.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">The
build I describe here is still a development version build using new
VTK and ITK versions but it's working fine for me (and I had problem
installing the older versions ^^). This said, a little bird told me
that a new release should be expected soon enough.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><b>Build
versions</b></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">I'm
working on a Ubuntu 14.04.1 computer and Qt5 was already installed so
what was left to do was to install :</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">VTK
→ ITK → VV</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Versions
of the installed packages : </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
VTK 7.0.0 → </span></font></font><span style="display:inline-block;border:none;padding:0cm"><font color="#224da3"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB"><u><a href="http://www.vtk.org/files/release/7.0/VTK-7.0.0.tar.gz">VTK-7.0.0.tar.gz</a></u></span></font></font></font></span></p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
ITK 4.9.1 → </span></font></font><a href="http://sourceforge.net/projects/itk/files/itk/4.9/InsightToolkit-4.9.1.tar.gz/download"><font color="#006699"><span style="text-decoration:none"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB"><u>InsightToolkit-4.9.1.tar.gz
(hosted at Sourceforge)</u></span></font></font></span></font></a></p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
VV </span></font></font><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">new
version available on git and compatible with VTK>6 and Qt5</span></font></font><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
→ </span></font></font><a href="https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=snapshot;h=refs/heads/VTK6_Qt5;sf=tgz"><font color="#0000cc"><font face="Liberation Serif, serif"><font style="font-size:12pt">snapshot</font></font></font></a></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">(the
VV tarball is called “clitk-VTK6_Qt5-8a0e0dd.tar.gz” but it is
actually the VV archived source folder)</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">And
: gcc 4.8.2 / g++ 4.8.2 / cmake 2.8.12.2 </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">In
case you're missing g++, gcc or cmake you can find them on
repositories :</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">sudo
apt-cache search ThePackageYoureLookingFor, </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">sudo
apt-get install TheExactNameOfThePackageYouWantToInstall</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">For
VTK, ITK and VV you have to install them from the source (links
provided above).</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><b>first,
VTK </b><b>build and install</b><b> :</b> </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">-
Create a folder locally for instance : home/myPrograms/VTK</font></font></p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
Put your tarball </span></font></font><span style="display:inline-block;border:none;padding:0cm"><font color="#224da3"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB"><u><a href="http://www.vtk.org/files/release/7.0/VTK-7.0.0.tar.gz">VTK-7.0.0.tar.gz</a>
</u></span></font></font></font></span><font color="#224da3"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
</span></font></font></font><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">in
this folder and extract it the source folder contained inside by
typing the command</span></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">>
tar xvf <span style="display:inline-block;border:none;padding:0cm"><font color="#000000">VTK-7.0.0.tar.gz</font></span></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
create a V</font></font><font color="#000000"><font color="#000000">TK</font><font color="#000000">-build
folder along the source folder that you just extracted (> mkdir
V</font><font color="#000000">TK</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
go in you</font></font><font color="#000000"><font color="#000000">r
freshly created</font><font color="#000000">
V</font><font color="#000000">TK</font><font color="#000000">-build
folder (cd V</font><font color="#000000">TK</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
and start the build with cmake : > sudo ccmake ../VTK-7.0.0
( ../VTK-7.0.0 is the </font></font><font color="#000000"><font color="#000000">relative</font><font color="#000000">
path to the source folder </font><font color="#000000">that
you</font><font color="#000000">'ve
just extracted and that you </font><font color="#000000">are
going to build</font><font color="#000000">)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">T</font></font><font color="#000000"><font color="#000000">his
is the window you should have :</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<img src="cid:ii_15429ef6e706f899" alt="Images intégrées 1" width="544" height="310"><br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Be
sure to have the following build options set-up : </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">-
CMAKE_BUILD_TYPE : Releas</font><font color="#222222">e</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">-
BUILD_SHARED_LIBS : on</font><br><font color="#222222">-
VTK_Group_Qt : on</font><br><font color="#222222">-
VTK_QT_VERSION : 5</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">-
</font><font color="#222222">VTK_RENDERING_BACKEND
OpenGL (be careful not to have OpenGL2)</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">And
to have all the paths for Qt correctly linked (you shouldn't have
« dir_not_found »)</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">Note
for using cmake : to edit a configuration option, move towards
it using the up and down keyboard arrows, press enter to edit and
enter again to validate then « c » to configure.</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">After
each configuration </font><font color="#222222">(« c »)</font><font color="#222222">,
new options can be available and if so, they will show up at the top
of all the options. Make sure that you're happy with them </font><font color="#222222">before
going on</font><font color="#222222">.
Once everything is set as you wish, press « g » to
generate.</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">Once
you've pressed « g » you'll see that a bunch of files
have been generated in your build folder.</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">The
next step is to build : </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">>
sudo make -j”number of cores” → sudo make -j4 if you have a
quad core cpu</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">The
terminal command on ubuntu to know the number of cores you have on
your computer is </font></font>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">>
nproc or > lscpu if you want more information.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Once
the build is over (100%) and hopefully with no errors, all that's
left to do is to install:</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">>
sudo make install</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">That's
it, VTK is now installed :)</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><b>Now,
on to ITK :</b> the building / installing procedure is the same as
for VTK</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">-
Create a folder locally for instance : home/myPrograms/ITK</font></font></p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
Put your tarball </span></font></font><a href="http://sourceforge.net/projects/itk/files/itk/4.9/InsightToolkit-4.9.1.tar.gz/download"><font color="#006699"><span style="text-decoration:none"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB"><u>InsightToolkit-4.9.1.tar.gz</u></span></font></font></span></font></a><span style="display:inline-block;border:none;padding:0cm"><font color="#224da3"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
</span></font></font></font></span><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">in
this folder and extract it the source folder contained inside by
typing the command</span></font></font></p>
<p style="margin-bottom:0cm;line-height:100%"> <font color="#000000"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">>
tar xvf </span></font></font></font><span style="display:inline-block;border:none;padding:0cm"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
InsightToolkit-4.9.1.tar.gz</span></font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
create a </font></font><font color="#000000"><font color="#000000">ITK</font><font color="#000000">-build
folder along the source folder that you just extracted (> mkdir
</font><font color="#000000">ITK</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
go in you</font></font><font color="#000000"><font color="#000000">r
freshly created</font><font color="#000000">
</font><font color="#000000">ITK</font><font color="#000000">-build
folder (cd </font><font color="#000000">ITK</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
and start the build with cmake : > sudo ccmake
../</font></font><font color="#000000"><font color="#000000">InsightToolkit-4.9.1</font><font color="#000000">(../</font><font color="#000000">InsightToolkit-4.9.1</font><font color="#000000">
is the </font><font color="#000000">relative</font><font color="#000000">
path to the source folder </font><font color="#000000">that
you</font><font color="#000000">'ve
just extracted and that you </font><font color="#000000">are
going to build</font><font color="#000000">)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">T</font></font><font color="#000000"><font color="#000000">his
is the window you should have :</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<img src="cid:ii_15429f0058a34009" alt="Images intégrées 2" width="544" height="310"><br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">Be
sure to have the following build options set-up :</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">-
BUILD_SHARED_LIBS : on</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">-
</font><font color="#222222">VTK_DIR
: your path to your VTK directory (mine was
/usr/local/lib/cmake/vtk-7.0)</font><br><font color="#222222">-
module_itk_review : on </font><font color="#222222">(you
need to press “t” to go into advanced mode to have access to
this)</font><br><font color="#222222">-
module_ITKVTKGlue : on </font><font color="#222222">(you
need to press “t” to go into advanced mode to have access to
this)</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">O</font><font color="#222222">nce
everything is set, generate with “g” and build with:</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">>
sudo make -j”number of cores”</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">Then
install : > sudo make install</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222"><b>And
finally, building and installing VV</b></font><font color="#222222">
:</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">-
Create a folder locally for instance : home/myPrograms/VV</font></font></p>
<p style="margin-bottom:0cm;line-height:100%"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">-
Put your tarball </span></font></font><span style="display:inline-block;border:none;padding:0cm"><font color="#0000cc"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB"><u><a href="https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=snapshot;h=refs/heads/VTK6_Qt5;sf=tgz">clitk-VTK6_Qt5-8a0e0dd.tar.gz</a></u></span></font></font></font><font color="#0000cc"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
</span></font></font></font></span><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">in
this folder and extract it the source folder contained inside by
typing the command</span></font></font></p>
<p style="margin-bottom:0cm;line-height:100%"> <font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">>
</span></font></font><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">tar
xvf </span></font></font></font><span style="display:inline-block;border:none;padding:0cm"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">
</span></font></font></font></span><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size:12pt"><span lang="en-GB">clitk-VTK6_Qt5-8a0e0dd.tar.gz</span></font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
create a </font></font><font color="#000000"><font color="#000000">VV</font><font color="#000000">-build
folder along the source folder that you just extracted (> mkdir
</font><font color="#000000">VV</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
go in you</font></font><font color="#000000"><font color="#000000">r
freshly created</font><font color="#000000">
</font><font color="#000000">V</font><font color="#000000">V</font><font color="#000000">-build
folder (cd </font><font color="#000000">VV</font><font color="#000000">-build)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
and start the build with cmake : > sudo ccmake
../</font></font><font color="#000000"><font color="#000000">clitk-VTK6_Qt5-8a0e0dd/</font><font color="#000000">
</font><font color="#000000">(../</font><font color="#000000">clitk-VTK6_Qt5-8a0e0dd/</font><font color="#000000">
is the </font><font color="#000000">relative</font><font color="#000000">
path to the source folder </font><font color="#000000">that
you</font><font color="#000000">'ve
just extracted and that you </font><font color="#000000">are
going to build</font><font color="#000000">)</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">T</font></font><font color="#000000"><font color="#000000">his
is the window you should have :</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<img src="cid:ii_15429efdeedd6302" alt="Images intégrées 3" width="544" height="310"><br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">Be
sure to have the following build option set-up :</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">-
ITK_DIR : </font></font><font color="#000000"><font color="#222222">
your path to your </font><font color="#222222">I</font><font color="#222222">TK
directory</font><font color="#000000">
(mine was /usr/local/lib/cmake/ITK-4.9)
</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">and
all your paths to Qt directories</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Note
: I had an error with a source file used for a function in VV that
gives you information on your memory consumption when I tried to
build with this configuration.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">make[2]:
***</font><br><font color="#222222">
[tools/CMakeFiles/clitkCropImageLib.dir/clitkCropImageGenericFilter.cxx.o]</font><br><font color="#222222">
Erreur 1</font><br><font color="#222222">></font><br><font color="#222222">>
make[1]: *** [tools/CMakeFiles/clitkCropImageLib.dir/all] Erreur
2</font><br><font color="#222222">></font><br><font color="#222222">>
/home/myplace/mesProgs/vv/vv-src/common/clitkMemoryUsage.cxx:48:38:
error:</font><br><font color="#222222">>
cannot convert ?int*? to ?size_t* {aka long unsigned int*}? for
argument</font><br><font color="#222222">>
?1? to ?sg_process_stats* sg_get_process_stats(size_t*)? make[2]:
***</font><br><font color="#222222">>
[common/CMakeFiles/clitkCommon.dir/clitkMemoryUsage.cxx.o] Erreur
1</font><br><font color="#222222">></font><br><font color="#222222">>
make[1]: *** [common/CMakeFiles/clitkCommon.dir/all] Erreur 2</font><br><font color="#222222">></font><br><font color="#222222">>
and it stops at around 28 % with</font><br><font color="#222222">></font><br><font color="#222222">>
Linking CXX static library ../lib/libclitkAffineRegistrationLib.a</font><br><font color="#222222">></font><br><font color="#222222">>
[ 28%] Built target clitkAffineRegistrationLib</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">As
the memory information wasn't vital for me and as it </font><font color="#222222">is
optional, I was able to get rid of this error by setting it off doing
: </font><font color="#222222">(</font><font color="#222222">after
generating the build options </font><font color="#222222">(“g”)</font><font color="#222222">
and before the actual build</font><font color="#222222">)</font></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt"><font color="#222222">>
cmake -DCLITK_MEMORY_INFO=OFF ..</font><span style="display:inline-block;border:none;padding:0cm"><font color="#000000">/</font><font color="#000000">clitk-VTK6_Qt5-8a0e0dd</font></span></font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<span style="display:inline-block;border:none;padding:0cm"><font style="font-size:12pt"><font color="#000000"><font face="Liberation Serif, serif">Then
build : > sudo make -j”number of cores”</font></font></font></span></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Then
install : > sudo make install</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">That's
it : you should now have a working vv installation and should be able
to start it by typing the command > vv</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">If
you had any errors while building any of the 3 softwares, make sure
to “clean” all your directories by removing files that have been
created before rebuilding (for instance in /usr/)</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">A
good way to search for a possible origin of the error is to :</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">-
read the error (no kidding :)</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">-
look for linking problems or missing libraries when you're setting up
your build options with ccmake. (look for “dir_not_found”)</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">That's
all folks, I hope this is useful for other person like me that have
been struggling to install VV.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Cheers.</font></font></p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<br>
</p>
<p lang="en-GB" style="margin-bottom:0cm;line-height:100%">
<font face="Liberation Serif, serif"><font style="font-size:12pt">Matthieu</font></font></p>
<p style="margin-bottom:0cm;line-height:100%">
<br>
</p></div></div>