<div dir="ltr">Clang worked out. Thanks.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 20, 2013 at 10:12 AM, Sohail Shafii <span dir="ltr"><<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm using /usr/local/bin/gcc, which is:<div><div>Using built-in specs.</div><div>COLLECT_GCC=/usr/local/bin/gcc</div>
<div>COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/lto-wrapper</div>
<div>Target: x86_64-apple-darwin11.3.0</div><div>Configured with: ./configure</div><div>Thread model: posix</div><div>gcc version 4.7.0 (GCC) </div></div><div><br></div><div>I assume that clang is in /Applications/Xcode.app/Contents/Developer/usr/bin/. Which is:</div>
<div><div>Using built-in specs.</div><div>Target: i686-apple-darwin11</div><div>Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1</div>
<div>Thread model: posix</div><div>gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)</div></div><div><br></div><div><br></div><div>I'll try that one right now with 4.3.2. Not familiar with obtaining rc versions of ITK. I assume you mean checkout the git version and switch to 4.4rc1?</div>
<div><br></div><div>Thanks for the help, Sohail</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 20, 2013 at 9:53 AM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Sohail,<br>
<br>
Some changes have been made to the way GCC_XML is build since 4.3.2. Can you give 4.4rc1 a try?<br>
<br>
Also what compiler are you using? This version of gcc on OSX is know to have some problems:<br>
<br>
$ gcc --version<br>
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)<br>
<br>
You should try to compile ITK with clang.<br>
<br>
Brad<br>
<div><div><br>
<br>
<br>
<br>
On May 20, 2013, at 12:23 PM, Sohail Shafii <<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I've been trying to build ITK, and I get this error:<br>
> [ 7%] Performing configure step for 'GCC_XML'<br>
> -- Check if the system is big endian<br>
> -- Searching 16 bit integer<br>
> CMake Error at /usr/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):<br>
> no suitable type found<br>
> Call Stack (most recent call first):<br>
> GCC/config_cmake/CMakeLists.txt:158 (TEST_BIG_ENDIAN)<br>
><br>
><br>
> -- Configuring incomplete, errors occurred!<br>
> make[2]: *** [Wrapping/Generators/GccXML/gccxml/src/GCC_XML-stamp/GCC_XML-configure] Error 1<br>
> make[1]: *** [Wrapping/Generators/GccXML/CMakeFiles/GCC_XML.dir/all] Error 2<br>
> make[1]: *** Waiting for unfinished jobs....<br>
><br>
> System is MacBook Pro running OS X 10.8.3. This is ITK 4.3.2 and I'm running Cmake 2.8.11. Not sure why it's trying to run this test on my x86 machine. Please advise.<br>
><br>
> Thanks,<br>
> Sohail<br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>