<html><head></head><body><p dir="ltr">Hi.</p>
<p dir="ltr">GCC 5.1 is the compiler shiped with the system, Tumbleweed is the rolling release version of OpenSuSE, all the system is compiled using it.</p>
<p dir="ltr">I invoked cmake using ccmake pathto/sourceitk from build directory. I also probed with cmake-gui and I obtained the same results.</p>
<p dir="ltr">Best regards.</p>
<p dir="ltr">Alfonso Castro<br>
Faculty of Computer Science<br>
University of A Coruna</p>
<p dir="ltr"><!-- tmjah_g_1299s -->Enviado desde <a href="http://www.typeapp.com/r">TypeMail<!-- tmjah_g_1299e --></a></p>
<div class="gmail_quote" >En 29 jul 2015, en 21:22, Matt McCormick <<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>> escrito:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">Hi Alfonso,<br><br>Is this the compiler that ships with the system?  We have some<br>dashboard builds that build with GCC 5.1 fine.  How is cmake being<br>invoked?<br><br>The logic that sets the default value for ITK_USE_GOLD_LINKER can be found here:<br><br>   <a href="https://github.com/InsightSoftwareConsortium/ITK/blob/master/CMake/ITKSetStandardCompilerFlags.cmake#L206-L219">https://github.com/InsightSoftwareConsortium/ITK/blob/master/CMake/ITKSetStandardCompilerFlags.cmake#L206-L219</a><br><br>HTH,<br>Matt<br><br>On Wed, Jul 29, 2015 at 7:14 AM, Alfonso Castro <alfonso.castro@udc.es> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi.<br><br> I am using OpenSuSE Tumbleweed, it uses gcc 5.1 like system compiler:<br><br> Using built-in specs.<br> COLLECT_GCC=gcc<br> COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper<br> Target: x86_64-suse-linux<br> Configured
with: ../configure --prefix=/usr --infodir=/usr/share/info --<br> mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-<br> languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-checking=release --<br> with-gxx-include-dir=/usr/include/c++/5 --enable-ssp --disable-libssp --<br> disable-libvtv --enable-libmpx --disable-plugin --with-<br> bugurl=<a href="http://bugs.opensuse.org">http://bugs.opensuse.org</a>/ --with-pkgversion='SUSE Linux' --disable-<br> libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --<br> enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-<br> specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-<br> suffix=-5 --without-system-libunwind --enable-multilib --with-arch-32=i586 --<br> with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux<br> Thread model: posix<br> gcc version 5.1.1 20150713 [gcc-5-branch revision 225736] (SUSE Linux)<br><br> When I try to
compile ITK 4.8, gcc gives an error:<br><br> [  1%] Building CXX object<br> Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/Directory.cxx.o<br> In file included from<br> /opt/mia/build/itk/Modules/ThirdParty/KWSys/src/itksys/stl/string.hxx:29:0,<br>                  from<br> /opt/mia/build/itk/Modules/ThirdParty/KWSys/src/itksys/stl/string:49,<br>                  from<br> /opt/mia/build/itk/Modules/ThirdParty/KWSys/src/itksys/Directory.hxx:16,<br>                  from<br> /opt/mia/fuentes/InsightToolkit-4.8.0/Modules/ThirdParty/KWSys/src/KWSys/Directory.cxx:13:<br> /opt/mia/build/itk/Modules/ThirdParty/KWSys/src/itksys/ios/iostream:26:23:<br> fatal error: iostream.h: Non hai tal ficheiro ou directorio<br> compilation terminated.<br> Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/build.make:169: fallo<br> en las instrucciones para el objetivo<br> 'Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/Directory.cxx.o'<br> make[2]: ***<br>
[Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/Directory.cxx.o]<br> Error 1<br> CMakeFiles/Makefile2:340: fallo en las instrucciones para el objetivo<br> 'Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/all'<br> make[1]: *** [Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/all]<br> Error 2<br> Makefile:136: fallo en las instrucciones para el objetivo 'all'<br> make: *** [all] Error 2<br><br> I think is provoked for the next message in configuration:<br><br> Warning: turning off implicit template instantiation<br><br> The curious thing is I use clang (3.6.1), ITK 4.8 compile without a problem<br> with the same configuration, the information of the version of clang is:<br><br> clang version 3.6.1 (tags/RELEASE_361/final 238133)<br> Target: x86_64-suse-linux<br> Thread model: posix<br> Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8<br> Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/5<br> Found
candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8<br> Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/5<br> Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/5<br> Candidate multilib: .;@m64<br> Selected multilib: .;@m64<br><br> I am using a directory to build ITK and other for the installation of the<br> files. The build directory is empty before the configuration using ccmake<br> (3.2.3).<br><br> Am I making something wrong? Can I change something to compile ITK 4.8 with<br> gcc 5.1?<br><br> Also, I'll be very gratefull is someone can explain what makes the option<br> ITK_USE_GOLD_LINKER.<br><br> Thanks in advance.<br><br> Alfonso Castro<br> Faculty of Computer Science<br> University of A Coruna<br><br><hr><br> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br> Visit other Kitware open-source projects at<br> <a
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br> Kitware offers ITK Training Courses, for more information visit:<br> <a href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br><br> Please keep messages on-topic and check the ITK FAQ at:<br> <a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br> Follow this link to subscribe/unsubscribe:<br> <a href="http://public.kitware.com/mailman/listinfo/insight-users">http://public.kitware.com/mailman/listinfo/insight-users</a><br></blockquote></pre></blockquote></div></body></html>