<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>$ xcodebuild -version</div><div>Xcode 4.3.1</div><div>Build version 4E1019</div><div><br></div><div>$ cmake --version</div><div>cmake version 2.8.7</div><div><br></div><div><div>On Mar 22, 2012, at 9:36 AM, David Cole wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>How about the output of "xcodebuild -version" ... ?<br><br>With Xcode 4.3, you will need a VERY recent CMake to pick up this<br>recent bug fix:<br><br> <a href="http://public.kitware.com/Bug/view.php?id=12621">http://public.kitware.com/Bug/view.php?id=12621</a><br><br>A nightly build of CMake dated March 16, 2012 or later should work.<br>The fix will also be in the upcoming CMake 2.8.8 release. We should be<br>doing rc1 for CMake 2.8.8 very soon now.<br><br><br>Thanks,<br>David<br><br><br><br>On Thu, Mar 22, 2012 at 9:22 AM, Bradley Lowekamp<br><<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>> wrote:<br><blockquote type="cite">*smacks head* I was on the wrong system.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$ clang --version<br></blockquote><blockquote type="cite">Apple clang version 3.1 (tags/Apple/clang-318.0.54) (based on LLVM 3.1svn)<br></blockquote><blockquote type="cite">Target: x86_64-apple-darwin11.3.0<br></blockquote><blockquote type="cite">Thread model: posix<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$ uname -a<br></blockquote><blockquote type="cite">Darwin mini6 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST<br></blockquote><blockquote type="cite">2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mar 22, 2012, at 9:14 AM, Johnson, Hans J wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Brad,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am getting a much different clang version on my 10.7.3 system:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">johnsonhj@neuron:~$ clang --version<br></blockquote><blockquote type="cite">Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)<br></blockquote><blockquote type="cite">Target: x86_64-apple-darwin11.3.0<br></blockquote><blockquote type="cite">Thread model: posix<br></blockquote><blockquote type="cite">johnsonhj@neuron:~$ uname -a<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Darwin <a href="http://neuron.psychiatry.uiowa.edu">neuron.psychiatry.uiowa.edu</a> 11.3.0 Darwin Kernel Version 11.3.0: Thu<br></blockquote><blockquote type="cite">Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64<br></blockquote><blockquote type="cite">johnsonhj@neuron:~$<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hans<br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Hans J. Johnson, Ph.D.<br></blockquote><blockquote type="cite"><a href="mailto:hans-johnson@uiowa.edu">hans-johnson@uiowa.edu</a><br></blockquote><blockquote type="cite">Assistant Professor of Psychiatry<br></blockquote><blockquote type="cite">University of Iowa Carver College of Medicine<br></blockquote><blockquote type="cite">W278 GH, 200 Hawkins Drive<br></blockquote><blockquote type="cite">Iowa City, Iowa 52242<br></blockquote><blockquote type="cite">Phone: 319-353-8587<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">From: Bradley Lowekamp <<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>><br></blockquote><blockquote type="cite">Date: Thu, 22 Mar 2012 09:09:28 -0400<br></blockquote><blockquote type="cite">To: Kent Williams <<a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a>><br></blockquote><blockquote type="cite">Cc: ITK <<a href="mailto:insight-developers@itk.org">insight-developers@itk.org</a>><br></blockquote><blockquote type="cite">Subject: Re: [Insight-developers] OS X 10.7.3 breaks kwsys<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hello,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I think I re-produced your problem trying to set up clang for SimpleITK:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://open.cdash.org/viewBuildError.php?buildid=2112999">http://open.cdash.org/viewBuildError.php?buildid=2112999</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I just downloaded the latest XCode, and patched the system:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$ clang --version<br></blockquote><blockquote type="cite">Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)<br></blockquote><blockquote type="cite">Target: x86_64-apple-darwin10<br></blockquote><blockquote type="cite">Thread model: posix<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Does ITK work mostly with this version of clang? Is this the version you are<br></blockquote><blockquote type="cite">using, or some mac-ports like version?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Brad<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mar 13, 2012, at 11:59 AM, Williams, Norman K wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is one of those 'oh great' moments. I updated my Mac to 10.7.3 and<br></blockquote><blockquote type="cite">ITK and VTK compiles broke, with this error:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">In file included from<br></blockquote><blockquote type="cite">/scratch/kent/ants/brainsia/build/ITKv4/Modules/ThirdParty/KWSys/src/KWSys/<br></blockquote><blockquote type="cite">SystemTools.cxx:26:<br></blockquote><blockquote type="cite">/scratch/kent/ants/brainsia/build/ITKv4-build/Modules/ThirdParty/KWSys/src/<br></blockquote><blockquote type="cite">itksys/ios/sstream:176:29: error: cannot initialize a<br></blockquote><blockquote type="cite"> parameter of type 'iostate' (aka 'std::_Ios_Iostate') with an lvalue<br></blockquote><blockquote type="cite">of type 'int'<br></blockquote><blockquote type="cite"> this->IStrStream::clear(flags);<br></blockquote><blockquote type="cite"> ^~~~~<br></blockquote><blockquote type="cite">/usr/include/c++/4.2.1/bits/basic_ios.h:133:21: note: passing argument to<br></blockquote><blockquote type="cite">parameter '__state' here<br></blockquote><blockquote type="cite"> clear(iostate __state = goodbit);<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The problem is that the function signature for ios::clear changed between<br></blockquote><blockquote type="cite">10.7.2 and 10.7.3 -- and for some reason the compiler won't do the<br></blockquote><blockquote type="cite">conversion between int and iostate.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It's vexing to me because I can't imagine ever calling ios::clear() with<br></blockquote><blockquote type="cite">an argument. Clear is clear, right?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Kent Williams <a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">________________________________<br></blockquote><blockquote type="cite">Notice: This UI Health Care e-mail (including attachments) is covered by the<br></blockquote><blockquote type="cite">Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential<br></blockquote><blockquote type="cite">and may be legally privileged. If you are not the intended recipient, you<br></blockquote><blockquote type="cite">are hereby notified that any retention, dissemination, distribution, or<br></blockquote><blockquote type="cite">copying of this communication is strictly prohibited. Please reply to the<br></blockquote><blockquote type="cite">sender that you have received the message in error, then delete it. Thank<br></blockquote><blockquote type="cite">you.<br></blockquote><blockquote type="cite">________________________________<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Kitware offers ITK Training Courses, for more information visit:<br></blockquote><blockquote type="cite"><a href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ITK FAQ at:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">========================================================<br></blockquote><blockquote type="cite">Bradley Lowekamp<br></blockquote><blockquote type="cite">Medical Science and Computing for<br></blockquote><blockquote type="cite">Office of High Performance Computing and Communications<br></blockquote><blockquote type="cite">National Library of Medicine<br></blockquote><blockquote type="cite"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________ Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Kitware offers ITK<br></blockquote><blockquote type="cite">Training Courses, for more information visit:<br></blockquote><blockquote type="cite"><a href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a> Please keep messages on-topic<br></blockquote><blockquote type="cite">and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a> Follow this link<br></blockquote><blockquote type="cite">to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">________________________________<br></blockquote><blockquote type="cite">Notice: This UI Health Care e-mail (including attachments) is covered by the<br></blockquote><blockquote type="cite">Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential<br></blockquote><blockquote type="cite">and may be legally privileged. If you are not the intended recipient, you<br></blockquote><blockquote type="cite">are hereby notified that any retention, dissemination, distribution, or<br></blockquote><blockquote type="cite">copying of this communication is strictly prohibited. Please reply to the<br></blockquote><blockquote type="cite">sender that you have received the message in error, then delete it. Thank<br></blockquote><blockquote type="cite">you.<br></blockquote><blockquote type="cite">________________________________<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">========================================================<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Bradley Lowekamp<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Medical Science and Computing for<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Office of High Performance Computing and Communications<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">National Library of Medicine<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Kitware offers ITK Training Courses, for more information visit:<br></blockquote><blockquote type="cite"><a href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ITK FAQ at:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>