<div dir="ltr">Dear Alfonso and All,<div><br></div><div>1. I got the same error with ITK 4.8.1 gcc 4.8.5 under CentOS 6.5 with cmake binary 3.3 and 3.4rc3.</div><div><br></div><div>2. On another machine with Mint 17.2, ITK 4.8.1, gcc 4.8.4, cmake 3.3, everything is fine.</div><div><br></div><div>I made a minimal test cmakelists to run the testBigEndian function in cmake and that works, but when that's in the ITK cmakelists somewhere goes wrong.</div><div><br></div><div>After trying different things for several hours, my solution to the 1st problem was: use ITK 4.7.2 and everything is fine (going back to ITK 4.6 works for me too).</div><div><br></div><div>I also noticed that ITK 4.8.1 is much smaller than 4.7 (>200M down to 16M). This a dramatic change in size.</div><div><br></div><div>Best,</div><div>yi</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 10:20 AM, Alfonso Castro <span dir="ltr"><<a href="mailto:alfonso.castro@udc.es" target="_blank">alfonso.castro@udc.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi.<br>
<br>
I tried to compiled in OpenSuSE Tumbleweed ITK 4.8.1 but I obtained an error<br>
in configure:<br>
<br>
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:51 (message):<br>
no suitable type found<br>
Call Stack (most recent call first):<br>
Modules/ThirdParty/VNL/src/vxl/config/cmake/config/CMakeLists.txt:285<br>
(TEST_BIG_ENDIAN)<br>
<br>
However, the configuration and compile are without a problem using clang.<br>
<br>
The info of gcc version is:<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-bugurl=http://<br>
<a href="http://bugs.opensuse.org/" rel="noreferrer" target="_blank">bugs.opensuse.org/</a> --with-pkgversion='SUSE Linux' --disable-libgcj --with-<br>
slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-<br>
allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs<br>
--enable-linker-build-id --enable-linux-futex --program-suffix=-5 --without-<br>
system-libunwind --enable-multilib --with-arch-32=i586 --with-tune=generic --<br>
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>
VTK 6.3 compile without a problem using gcc 5.<br>
<br>
The info of clang version is:<br>
<br>
clang version 3.7.0 (tags/RELEASE_370/final 246586)<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>
Thanks in advance.<br>
<br>
Alfonso Castro<br>
Faculty of Computer Science<br>
University of A Coruna<br>
<br>
<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.6667px"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div style="font-size:12.6667px"><span style="font-size:12.6667px">Yi Gao, Ph.D.</span><br></div><div style="font-size:12.6667px">Assistant Professor</div><div style="font-size:12.6667px">Department of Biomedical Informatics</div><div style="font-size:12.6667px">Departments of <span style="font-size:12.6667px">Computer Science and </span><span style="font-size:12.6667px">Applied Mathematics & Statistics</span></div><div style="font-size:12.6667px">Stony Brook University | The State University of New York</div><div style="font-size:12.6667px">Stony Brook, New York, 11794</div><div style="font-size:12.6667px">631-632-9540</div></div></div></div></div></div></div></div></div></div></div>