<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; ">Hi alaamegawer,<div><br></div><div>I'm a bit confused by your email, at the beginning you mention you are trying to build for Mac OS X Lion, but then in the second paragraph you mention something ITK on iOS. I have no experience with iOS but I will assume you are trying to build for Lion..</div><div><br></div><div>Our project, Farsight, <a href="http://open.cdash.org/buildSummary.php?buildid=2547516">builds and links to ITK4.2 with llvm-gcc 4.2</a> successfully so what you are doing should be possible.</div><div><br></div><div>In <a href="https://github.com/Kitware/ITK/blob/master/CMake/ITKSetStandardCompilerFlags.cmake">ITKSetStandardCompilerFlags.cmake</a>, the possible warning flags are checked against the compiler and then only the ones the compiler supports are actually passed onto the compiler during the build steps. If you do a man gcc</div><div><br></div><div>"man gcc" shows that Wlong-double is not a supported compiler option .-Wno-long-double should not even be passed to the compiler so I think something is wrong with your ITK configure step. Perhaps you should try to delete everything and start from scratch</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div><div>
<div>Ho Cheung</div><div>Research Assistant</div><div>Bio-Image Analytics Laboratory - University of Houston</div><div>(832) 215-6347</div><div><br></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 1, 2012, at 4:20 PM, alaamegawer <<a href="mailto:alaamegawer@yahoo.com">alaamegawer@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Hi All<br><br>i'm trying to build itk v4 on mac os lion but unfortunately i have many<br>problem.<br><br>first i'm using cake to create Xcode project with default setting . <br>and i use llvm gcc 4.2 compiler but during compiliation process i have error <br>Unrecognized command line option "-Wno-long-double" and Command<br>/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1 ( apple mach linker<br>error) and i don't know how can i solve it ? <br><br>by the way i tried to use document at insight journal ITK on the iOS he<br>asked me to comment out the line SET(ITK REQUIRED C FLAGS "$ITK REQUIRED C<br>FLAGS -Wno-long-double") but i can't find it in cmakelist.txt<br><br>so what can i do ??? any help .<br>-- <br>View this message in context: <a href="http://old.nabble.com/itk4-and-xcode-4-problem--%2C-any-help-tp34378464p34378464.html">http://old.nabble.com/itk4-and-xcode-4-problem--%2C-any-help-tp34378464p34378464.html</a><br>Sent from the ITK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_____________________________________<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>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>