[Vv] Problems installing CLITK via vv superbuild file

Simon Rit simon.rit at creatis.insa-lyon.fr
Sun Feb 24 12:04:44 CET 2013


Dear Bilal,
It seems that your Qt compilation is failing so this is not related to vv.
You've got two solutions to fix this:
- install qt binaries using the package that comes with your linux
distribution and compile itk, vtk and vv one by one, without using the
superbuild.
- try modifying the configure options of Qt in the superbuild script. Since
your compilation issue is related to gtk, I would try -no-gtkstyle.
We do not support qt compilation issues, try to find help elsewhere on that
topic.
Simon

On Fri, Feb 22, 2013 at 11:58 PM, Bilal Tahir <b.tahir at sheffield.ac.uk>wrote:

> Dear All,
>
> I am trying to install CLITK by adding the relevant =ON options on the
> CMakeLists.txt file (attached edited version in this email) found in the
> following link
> https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=blob;f=superbuild/CMakeLists.txt
>
> I then run the following two commands:
>
>
> cmake superbuild-file-directorymake
>
> However, after running 'make' it started installing the programs (ITK, QT
> and VTK) one after the other for several hours until it reached 60% of the
> last program 'VV' where it gave the following errors and stopped:
>
> collect2: ld returned 1 exit status
> make[5]: *** [bin/vv] Error 1
> make[4]: *** [vv/CMakeFiles/vv.dir/all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [Stamp/VV/VV-build] Error 2
> make[1]: *** [CMakeFiles/VV.dir/all] Error 2
> make: *** [all] Error 2
>
> I've copied and posted some of the last few lines up till the point that
> the error came.
>
> The 'make' command created several folders in my home folder
> (/home/md1bat/) including 'Source' and 'Build'. It appears that ITK, QT and
> VTK (not VV) completed as you can see from the /home/md1bat/CMakeFiles/
> folder.
>
> [image: Inline images 1]
>
> Within the 'Build' folder, each of the four programs, ITK, VTK, QT and VV
> have at least a bin and/or lib folder. This is not the case in the 'Source'
> folder. Therefore, I have added the paths of the respective bin and lib
> folders from the 'Build' folder (not Source) to my .bashrc file (attached
> in this email). However, none of the programs (including the completed ITK,
> QT and VTK) seem to work even if I want to check which version I have
> installed using the command e.g itk --version. I have now deleted the
> precompiled 'VV' Oct 2012 version which used to work with the command vv.
> However, the command vv now gives the output 'command not found'.
>
> I'm not sure if I have done the export path correctly on my .bashrc as I
> have referenced it to the 'Build' folder and not the 'Source' folder as
> there was no bin or lib folders within that. Furthermore, I have no idea
> why the errors occurred.
>
> Please let me know if you have any suggestions.
>
> Best wishes,
>
>  Bilal Tahir,
> James Morrison Researcher in Radiotherapy Imaging,
> University of Sheffield/Weston Park Cancer Hospital
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20130224/39d7b5ef/attachment.html>


More information about the vv mailing list