<div>Hi Vivien,</div><div><br></div><div>I have left the QT section undeleted in the CMakelists.txt file and added the line of code you suggest (as below in red). I will give it a try and let you know if VV/CTITK works without errors.</div>
<div><br></div><pre style="word-wrap:break-word"><span style="white-space:pre-wrap">#=========================================================
# QT
SET(QtWinSpecFiles "${source_prefix}/qt/mkspecs/win32-msvc2003/qmake.conf";
                   "${source_prefix}/qt/mkspecs/win32-msvc2005/qmake.conf";
                   "${source_prefix}/qt/mkspecs/win32-msvc2008/qmake.conf";
                   "${source_prefix}/qt/mkspecs/win32-msvc2010/qmake.conf")
ExternalProject_Add(
  QT
  SOURCE_DIR ${source_prefix}/qt
  GIT_REPOSITORY git://<a href="http://gitorious.org/qt/qt.git">gitorious.org/qt/qt.git</a>
  GIT_TAG v4.8.3
  PATCH_COMMAND sed -i "s/\\-MD/-MT/g" ${QtWinSpecFiles}
  CONFIGURE_COMMAND ${source_prefix}/qt/configure -confirm-license
                                                  -static 
                                                  -fast
                                                  -opensource
                                                  -release
                                                  -prefix ${build_prefix}/QT
                                                  -nomake examples
                                                  -nomake demos
                                                  -qt-libpng
                                                  -no-libtiff
                                                  -no-libjpeg
                                                  <font color="#ff0000">-no-glib</font>
                                                  -no-libmng
  INSTALL_COMMAND ""
)
SET(qmake_executable "${build_prefix}/QT/bin/qmake")
#=========================================================</span></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre><br><div class="gmail_quote">On 28 February 2013 12:53, Vivien Delmon <span dir="ltr"><<a href="mailto:vivien.delmon@creatis.insa-lyon.fr" target="_blank">vivien.delmon@creatis.insa-lyon.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/28/2013 01:45 PM, Vivien Delmon wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/27/2013 07:27 PM, Bilal Tahir wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for uploading but I now get the following message:<br>
<br>
<br>
Inline images 1<br>
<br>
<br>
Any ideas?<br>
</blockquote>
<br>
You can try this new version<br>
<a href="http://www.creatis.insa-lyon.fr/~delmon/vv_nightly/vv-20130228.sh" target="_blank">http://www.creatis.insa-lyon.<u></u>fr/~delmon/vv_nightly/vv-<u></u>20130228.sh</a><br>
compiled with an older version of gcc (older enough I hope)<br>
</blockquote>
<br></div>
I read again your first error log in which you try to compile vv with superbuild. I had the same issue as yours and found the solution on google. You just have to add -no-glib to CONFIGURE_COMMAND and it will compile fine.<br>

<br>
By the way, my last nightly build is certainly not old enough since you have gcc 4.1.2 and I compiled vv with gcc 4.3<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you for the feedback, I hope this version is the good one :)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All the best,<br>
<br>
BIlal<br>
<br>
On 27 February 2013 15:28, Vivien Delmon<br>
<<a href="mailto:vivien.delmon@creatis.insa-lyon.fr" target="_blank">vivien.delmon@creatis.insa-<u></u>lyon.fr</a><br>
<mailto:<a href="mailto:vivien.delmon@creatis.insa-lyon.fr" target="_blank">vivien.delmon@creatis.<u></u>insa-lyon.fr</a>>> wrote:<br>
<br>
    On 02/27/2013 03:22 PM, Bilal Tahir wrote:<br>
<br>
        Dear Vivien,<br>
<br>
        I deleted the previous version of vv and after installing and<br>
        adding the<br>
        path, I got the following error:<br>
<br>
<br>
        Inline images 1<br>
<br>
<br>
    libstatgrab is an optional dependency of VV. Since it is installed<br>
    on my computer the nightly build use it.<br>
    I just added an option to deactivate this optional dependency and<br>
    updated the nightly build, you can download it again.<br>
<br>
    Thank you for testing vv's nightly build and sorry for the<br>
    inconveniences.<br>
<br>
        Please note that vv was working fine before and it didn't give<br>
this<br>
        error. Do you know how to solve it?<br>
<br>
        Best wishes,<br>
<br>
        Bilal<br>
<br>
        On 27 February 2013 13:51, Vivien Delmon<br>
        <<a href="mailto:vivien.delmon@creatis.insa-__lyon.fr" target="_blank">vivien.delmon@creatis.insa-__<u></u>lyon.fr</a><br>
        <mailto:<a href="mailto:vivien.delmon@creatis.insa-lyon.fr" target="_blank">vivien.delmon@creatis.<u></u>insa-lyon.fr</a>><br>
        <mailto:<a href="mailto:vivien.delmon@creatis." target="_blank">vivien.delmon@creatis.</a><u></u>__<a href="http://insa-lyon.fr" target="_blank">insa-lyon.fr</a><br>
        <mailto:<a href="mailto:vivien.delmon@creatis.insa-lyon.fr" target="_blank">vivien.delmon@creatis.<u></u>insa-lyon.fr</a>>>> wrote:<br>
<br>
             On 02/24/2013 12:09 PM, Simon Rit wrote:<br>
<br>
                 Dear Bilal,<br>
                 We are considering this for VV first but we will not<br>
        support<br>
                 this for<br>
                 clitk tools. We are happy to provide clitk tools but<br>
        users must<br>
                 try to<br>
                 solve their compilation issues.<br>
<br>
<br>
             I just compiled the first vv nightly build (linux 64 bits)<br>
        which is<br>
             available here :<br>
<br>
<a href="http://www.creatis.insa-lyon." target="_blank">http://www.creatis.insa-lyon.</a>_<u></u>___fr/~delmon/vv_nightly/vv-__<u></u>__20130227.sh<br>
<br>
<<a href="http://www.creatis.insa-lyon." target="_blank">http://www.creatis.insa-lyon.</a><u></u>__fr/~delmon/vv_nightly/vv-__<u></u>20130227.sh<br>
<br>
<<a href="http://www.creatis.insa-lyon.fr/~delmon/vv_nightly/vv-20130227.sh" target="_blank">http://www.creatis.insa-lyon.<u></u>fr/~delmon/vv_nightly/vv-<u></u>20130227.sh</a>>><br>
<br>
<br>
                 By the way, compilation of clitk tools, if this is what<br>
        you are<br>
                 interested in, should not require qt if you disable VV<br>
        compilation<br>
                 (CLITK_BUILD_VV:BOOL=OFF).<br>
                 Simon<br>
<br>
                 On Sat, Feb 23, 2013 at 12:13 AM, Bilal Tahir<br>
                 <<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.uk</a><br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>><br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac." target="_blank">b.tahir@sheffield.ac.</a>_<u></u>_uk<br>
<mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>>><br>
                 <mailto:<a href="mailto:b.tahir@sheffield.ac" target="_blank">b.tahir@sheffield.ac</a>.<br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac" target="_blank">b.tahir@sheffield.ac</a>.><u></u>____uk<br>
<br>
                 <mailto:<a href="mailto:b.tahir@sheffield.ac." target="_blank">b.tahir@sheffield.ac.</a>_<u></u>_uk<br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>>>>> wrote:<br>
<br>
                      Can I make a request that the latest version of VV<br>
                 including CLITK<br>
                      with all options set to ON be made available as a<br>
                 precompiled .sh<br>
                      binary file? Slicer3D <a href="http://download.slicer.org/" target="_blank">http://download.slicer.org/</a><br>
        allows for a<br>
                      nightly download of the binary version of the<br>
        latest version.<br>
<br>
                      This is due to my case where I have experienced<br>
        many errors in<br>
                      trying to install the relevant programs until I<br>
        finally get to<br>
                      install CLITK whereas the Oct 2012 precomiled<br>
        binary .sh<br>
                 file worked<br>
                      fine on linux for me. However, CLITK was not<br>
        included in<br>
                 that release.<br>
<br>
                      Best wishes,<br>
<br>
                      Bilal<br>
<br>
                      On 22 February 2013 22:58, Bilal Tahir<br>
                 <<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.uk</a><br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>><br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac." target="_blank">b.tahir@sheffield.ac.</a>_<u></u>_uk<br>
<mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>>><br>
                      <mailto:<a href="mailto:b.tahir@sheffield.ac" target="_blank">b.tahir@sheffield.ac</a>.<br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac" target="_blank">b.tahir@sheffield.ac</a>.><u></u>____uk<br>
<br>
                 <mailto:<a href="mailto:b.tahir@sheffield.ac." target="_blank">b.tahir@sheffield.ac.</a>_<u></u>_uk<br>
        <mailto:<a href="mailto:b.tahir@sheffield.ac.uk" target="_blank">b.tahir@sheffield.ac.<u></u>uk</a>>>>> wrote:<br>
<br>
                          Dear All,<br>
<br>
                          I am trying to install CLITK by adding the<br>
        relevant =ON<br>
                 options<br>
                          on the CMakeLists.txt file (attached edited<br>
        version in this<br>
                          email) found in the following link<br>
<br>
<a href="https://git.creatis.insa-lyon." target="_blank">https://git.creatis.insa-lyon.</a><u></u>____fr/pubgit/?p=clitk.git;a=_<u></u>_blob;__f=superbuild/__<u></u>CMakeLists.txt<br>
<br>
<br>
<br>
<br>
<<a href="https://git.creatis.insa-__lyon.fr/pubgit/?p=clitk.git;a=__blob;f=superbuild/CMakeLists.__txt" target="_blank">https://git.creatis.insa-__<u></u>lyon.fr/pubgit/?p=clitk.git;a=<u></u>__blob;f=superbuild/<u></u>CMakeLists.__txt</a><br>

<br>
<br>
<<a href="https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=blob;f=superbuild/CMakeLists.txt" target="_blank">https://git.creatis.insa-<u></u>lyon.fr/pubgit/?p=clitk.git;a=<u></u>blob;f=superbuild/CMakeLists.<u></u>txt</a>>><br>

<br>
<br>
                          I then run the following two commands:<br>
<br>
<br>
                          cmake superbuild-file-directory<br>
                          make<br>
<br>
                          However, after running 'make' it started<br>
        installing the<br>
                 programs<br>
                          (ITK, QT and VTK) one after the other for<br>
        several hours<br>
                 until it<br>
                          reached 60% of the last program 'VV' where it<br>
        gave the<br>
                 following<br>
                          errors and stopped:<br>
<br>
                          collect2: ld returned 1 exit status<br>
                          make[5]: *** [bin/vv] Error 1<br>
                          make[4]: *** [vv/CMakeFiles/vv.dir/all] Error 2<br>
                          make[3]: *** [all] Error 2<br>
                          make[2]: *** [Stamp/VV/VV-build] Error 2<br>
                          make[1]: *** [CMakeFiles/VV.dir/all] Error 2<br>
                          make: *** [all] Error 2<br>
<br>
                          I've copied and posted some of the last few<br>
        lines up<br>
                 till the<br>
                          point that the error came.<br>
<br>
                          The 'make' command created several folders in<br>
        my home<br>
                 folder<br>
                          (/home/md1bat/) including 'Source' and<br>
'Build'. It<br>
                 appears that<br>
                          ITK, QT and VTK (not VV) completed as you can<br>
        see from<br>
                          the /home/md1bat/CMakeFiles/ folder.<br>
<br>
                          Inline images 1<br>
<br>
                          Within the 'Build' folder, each of the four<br>
        programs,<br>
                 ITK, VTK,<br>
                          QT and VV have at least a bin and/or lib<br>
        folder. This<br>
                 is not the<br>
                          case in the 'Source' folder. Therefore, I have<br>
        added<br>
                 the paths<br>
                          of the respective bin and lib folders from the<br>
        'Build'<br>
                 folder<br>
                          (not Source) to my .bashrc file (attached in<br>
        this email).<br>
                          However, none of the programs (including the<br>
        completed<br>
                 ITK, QT<br>
                          and VTK) seem to work even if I want to check<br>
        which<br>
                 version I<br>
                          have installed using the command e.g itk<br>
        --version. I<br>
                 have now<br>
                          deleted the precompiled 'VV' Oct 2012 version<br>
        which<br>
                 used to work<br>
                          with the command vv. However, the command vv<br>
        now gives the<br>
                          output 'command not found'.<br>
<br>
                          I'm not sure if I have done the export path<br>
        correctly on my<br>
                          .bashrc as I have referenced it to the 'Build'<br>
        folder<br>
                 and not<br>
                          the 'Source' folder as there was no bin or lib<br>
        folders<br>
                 within<br>
                          that. Furthermore, I have no idea why the<br>
        errors occurred.<br>
<br>
                          Please let me know if you have any suggestions.<br>
<br>
                          Best wishes,<br>
<br>
                          Bilal Tahir,<br>
                          James Morrison Researcher in Radiotherapy<br>
Imaging,<br>
                          University of Sheffield/Weston Park Cancer<br>
        Hospital<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
-- <br>
Vivien Delmon<br>
PhD student at CREATIS, Lyon<br>
Supported by ANRT and ELEKTA<br>
<a href="http://www.creatis.insa-lyon.fr/rio" target="_blank">http://www.creatis.insa-lyon.<u></u>fr/rio</a><br>
<br></div></div>
Bibliothèque logicielle :<br>
On retrouve parfois le terme librairie issu du faux ami anglais library.<br>
Librairie se traduisant bookshop en anglais c'est donc un abus de<br>
langage et une erreur. (Wikipedia)<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
vv mailing list<br>
<a href="mailto:vv@creatis.insa-lyon.fr" target="_blank">vv@creatis.insa-lyon.fr</a><br>
<a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/vv" target="_blank">http://www.creatis.insa-lyon.<u></u>fr/mailman/listinfo/vv</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bilal Tahir,<div>James Morrison Researcher in Radiotherapy Imaging</div>