<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(32,18,77)">
<p style="margin-bottom:0cm;line-height:100%">I can't manage to
build VV correctly and it seems that I've tried all what my newbie
abilities in software building could allow.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">I've tried building
step by step following what was recommended on the site, building
from source.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">In the end, VTK and
ITK build okay but VV crashes during the building process.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Here are the errors
that I have while building VV (along with many other warnings) :</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">make[2]: ***
[tools/CMakeFiles/clitkCropImageLib.dir/clitkCropImageGenericFilter.cxx.o]
Erreur 1
</p>
<p style="margin-bottom:0cm;line-height:100%">make[1]: ***
[tools/CMakeFiles/clitkCropImageLib.dir/all] Erreur 2
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">
/home/myplace/mesProgs/vv/vv-src/common/clitkMemoryUsage.cxx:48:38:
error: cannot convert ‘int*’ to ‘size_t* {aka long unsigned
int*}’ for argument ‘1’ to ‘sg_process_stats*
sg_get_process_stats(size_t*)’ make[2]: ***
[common/CMakeFiles/clitkCommon.dir/clitkMemoryUsage.cxx.o] Erreur 1
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">make[1]: ***
[common/CMakeFiles/clitkCommon.dir/all] Erreur 2
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">and it stops at
around 28 % with
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Linking CXX static
library ../lib/libclitkAffineRegistrationLib.a
</p>
<p style="margin-bottom:0cm;line-height:100%">[ 28%] Built target
clitkAffineRegistrationLib
</p>
<p style="margin-bottom:0cm;line-height:100%">make: *** [all]
Erreur 2
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Here are the
versions of the packages that I use :</p>
<p style="margin-bottom:0cm;line-height:100%">- cmake :
2.8.12.2</p>
<p style="margin-bottom:0cm;line-height:100%">- gcc and g++
: I was using by default the 4.8 version but I had to use the 4.6 in
order to build ITK</p>
<p style="margin-bottom:0cm;line-height:100%">- qt : 4</p>
<p style="margin-bottom:0cm;line-height:100%">- VTK : 5.10</p>
<p style="margin-bottom:0cm;line-height:100%">- ITK : 3.2</p>
<p style="margin-bottom:0cm;line-height:100%">- VV : October
2012 release</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">VTK and ITK are
installed locally in my /usr/local folder and from what I'm guessing
it seems that the VV build has trouble finding all the ITK files
needed to build correctly.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Maybe there's a
linking part that I should have done, but I have no idea how to do it
… maybe something I should add in my .bashrc file … I dunno :'(</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">If anyone could
help, it would be greatly appreciated.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Cheers,</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">Matthieu</p></div></div>