[Vv] Problems installing CLITK via vv superbuild file

Bilal Tahir b.tahir at sheffield.ac.uk
Wed Feb 27 15:00:35 CET 2013


Apologies,

I meant to have added the line:

-DCLITK_BUILD_VV:BOOL=OFF

Instead of the option being ON in my CMakelists.text file.

Cheers,

Bilal

On 26 February 2013 23:33, Bilal Tahir <b.tahir at sheffield.ac.uk> wrote:

> Dear Simon,
>
> Thanks for your email. Yes, although it would be nice to have the latest
> version of the VV gui, I could just use the Oct 2012 version for now but I
> do need to use CLITK.
>
> I have edited the CMakeLists.txt file (attached) by deleting the QT
> section and adding the following lines to VV section:
>
>     -DCLITK_BUILD_VV:BOOL=ON
>     -DCLITK_BUILD_REGISTRATION:BOOL=ON
>
>     -DCLITK_BUILD_SEGMENTATION:BOOL=ON
>
>     -DCLITK_BUILD_TOOLS:BOOL=ON
>
>     -DCLITK_EXPERIMENTAL:BOOL=ON
>
> Can you confirm that this is all that is needed?
>
> Also once it has compiled, do I add the paths in the .bashrc to refer to
> 'Build' folder or will another folder show up if it is succesful?
>
> I'm not that familiar with Linux so I appreciate your assistance.
>
> Best wishes,
>
> Bilal
>
> On 24 February 2013 11:09, Simon Rit <simon.rit at creatis.insa-lyon.fr>wrote:
>
>> Dear Bilal,
>> We are considering this for VV first but we will not support this for
>> clitk tools. We are happy to provide clitk tools but users must try to
>> solve their compilation issues.
>> By the way, compilation of clitk tools, if this is what you are
>> interested in, should not require qt if you disable VV compilation
>> (CLITK_BUILD_VV:BOOL=OFF).
>> Simon
>>
>> On Sat, Feb 23, 2013 at 12:13 AM, Bilal Tahir <b.tahir at sheffield.ac.uk>wrote:
>>
>>> Can I make a request that the latest version of VV including CLITK with
>>> all options set to ON be made available as a precompiled .sh binary file?
>>> Slicer3D http://download.slicer.org/ allows for a nightly download of
>>> the binary version of the latest version.
>>>
>>> This is due to my case where I have experienced many errors in trying to
>>> install the relevant programs until I finally get to install CLITK whereas
>>> the Oct 2012 precomiled binary .sh file worked fine on linux for me.
>>> However, CLITK was not included in that release.
>>>
>>> Best wishes,
>>>
>>> Bilal
>>>
>>> On 22 February 2013 22:58, 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
>>>>
>>>
>>>
>>>
>>> --
>>> Bilal Tahir,
>>> James Morrison Researcher in Radiotherapy Imaging
>>>
>>> _______________________________________________
>>> vv mailing list
>>> vv at creatis.insa-lyon.fr
>>> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>>>
>>>
>>
>> _______________________________________________
>> vv mailing list
>> vv at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>>
>>
>
>
> --
> Bilal Tahir,
> James Morrison Researcher in Radiotherapy Imaging
>



-- 
Bilal Tahir,
James Morrison Researcher in Radiotherapy Imaging
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20130227/a3d7be82/attachment.html>


More information about the vv mailing list