Dear All,<div><br></div><div>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 <a href="https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=blob;f=superbuild/CMakeLists.txt">https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=blob;f=superbuild/CMakeLists.txt</a></div>
<div><br></div><div>I then run the following two commands:</div><div><pre style="border:1pt solid rgb(174,189,204);background-color:rgb(243,245,247);padding:5pt;font-family:courier,monospace;white-space:pre-wrap;word-wrap:break-word;font-size:16px">
cmake superbuild-file-directory
<span class="anchor" id="line-2-1"></span>make</pre></div><div><div>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:</div>
<div><br></div><div><div>collect2: ld returned 1 exit status</div><div>make[5]: *** [bin/vv] Error 1</div><div>make[4]: *** [vv/CMakeFiles/vv.dir/all] Error 2</div><div>make[3]: *** [all] Error 2</div><div>make[2]: *** [Stamp/VV/VV-build] Error 2</div>
<div>make[1]: *** [CMakeFiles/VV.dir/all] Error 2</div><div>make: *** [all] Error 2</div><br><div class="gmail_quote">I've copied and posted some of the last few lines up till the point that the error came.</div><div class="gmail_quote">
<br></div><div class="gmail_quote">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.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><img src="https://mail.google.com/mail/u/0/?ui=2&ik=fe66387657&view=att&th=13d041613926f526&attid=0.0.5&disp=safe&realattid=ii_13d04049cea60570&zw" alt="Inline images 1"><br>
</div><div class="gmail_quote"><br></div><div class="gmail_quote">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'.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">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.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Please let me know if you have any suggestions.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Best wishes,</div><div class="gmail_quote"><br></div>
<div class="gmail_quote">Bilal Tahir,</div></div><div>James Morrison Researcher in Radiotherapy Imaging,</div><div>University of Sheffield/Weston Park Cancer Hospital</div>
</div>