<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">(moving this to the ITK users list)<div><br></div><div>My bad on this, I'd previously renamed /usr/include to /usr/_include, per your instructions on installing ITK via brew, and forgot to rename back.</div><div><br></div><div>Now, I get the following error when building:</div><div><div>/usr/include/c++/4.2.1/bits/stl_iterator.h:646: error: no type named 'difference_type' in 'struct std::iterator_traits<const char*>'</div></div><div><br></div><div>which I realize has already been reported.</div><div><br></div><div>-Randy</div><div><br></div><div><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Randy Heiland <<a href="mailto:heiland@iu.edu">heiland@iu.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [ITK Community] error building on OSX 10.8.5 w/ python</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">January 12, 2014 12:19:51 PM EST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Michka Popoff <<a href="mailto:michkapopoff@gmail.com">michkapopoff@gmail.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Cc: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><<a href="mailto:community@itk.org">community@itk.org</a>><br></span></div><br><div>Thanks for the reply. What about the following error from this config?<br>$ cmake -DBUILD_SHARED_LIBS:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF ~/git/ITK<br>...<br>[ 20%] Built target install_wrapitk_compatibility<br>[ 20%] Performing configure step for 'PCRE'<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... ../PCRE/install-sh -c -d<br>checking for gawk... no<br>checking for mawk... mawk<br>checking whether make sets $(MAKE)... yes<br>checking for gcc... /usr/bin/cc <br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... configure: error: in `/Users/heiland/dev/ITK/InsightToolkit-git-build/Wrapping/Generators/SwigInterface/PCRE-prefix/src/PCRE-build':<br>configure: error: cannot run C compiled programs.<br>If you meant to cross compile, use `--host'.<br><br>On Jan 12, 2014, at 10:21 AM, Michka Popoff <<a href="mailto:michkapopoff@gmail.com">michkapopoff@gmail.com</a>> wrote:<br><br><blockquote type="cite">Hi<br><br>This error is coming from the tests in CheckFixedArrayTraits (itkNumericTraitsTest.cxx), I did not launch the tests for the moment, but I can provide also a fix for these if you want the tests to be run. It will take me some time. Can you disable the tests for the moment if the goal is just to get it installed ?<br>The fix is under discussion for the moment and was not merged to ITK, when doing a fresh checkout be sure to apply the patch.<br><br><br>Michka<br><br>On 12 janv. 2014, at 15:52, Randy Heiland <<a href="mailto:heiland@iu.edu">heiland@iu.edu</a>> wrote:<br><br><blockquote type="cite">Hello,<br><br>I just did a fresh checkout from git and still get an error, in spite of the recent change (<a href="http://review.source.kitware.com/#/c/14033/">http://review.source.kitware.com/#/c/14033/</a> )<br><br>$ c++ --version<br>Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)<br>Target: x86_64-apple-darwin12.5.0<br>Thread model: posix<br><br>$ /Users/heiland/dev/ITK/InsightToolkit-git-build/Wrapping/Generators/GccXML/gccxml/bin/gccxml --version<br>GCC-XML version 0.9.0<br><br>$ cmake -DBUILD_SHARED_LIBS:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON ~/git/ITK<br>$ make<br>...<br>"itk::NumericTraits<itk::RGBAPixel<unsigned long> >::Zero", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long> >(itk::RGBAPixel<unsigned long> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<short> >::One", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<short> >(itk::RGBAPixel<short> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<short> >::Zero", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<short> >(itk::RGBAPixel<short> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<unsigned short> >::One", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<unsigned short> >(itk::RGBAPixel<unsigned short> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<unsigned short> >::Zero", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<unsigned short> >(itk::RGBAPixel<unsigned short> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<long long> >::One", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<long long> >(itk::RGBAPixel<long long> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<long long> >::Zero", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<long long> >(itk::RGBAPixel<long long> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<unsigned long long> >::One", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long long> >(itk::RGBAPixel<unsigned long long> const&) in itkNumericTraitsTest.cxx.o<br>"itk::NumericTraits<itk::RGBAPixel<unsigned long long> >::Zero", referenced from:<br> void CheckFixedArrayTraits<itk::RGBAPixel<unsigned long long> >(itk::RGBAPixel<unsigned long long> const&) in itkNumericTraitsTest.cxx.o<br>ld: symbol(s) not found for architecture x86_64<br>clang: error: linker command failed with exit code 1 (use -v to see invocation<br><br>thanks, Randy<br><br>_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org">Community@itk.org</a><br>http://public.kitware.com/cgi-bin/mailman/listinfo/community<br></blockquote><br></blockquote><br></div></blockquote></div><br></div></body></html>