<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jc,<div><br></div><div>I updated CTK and rebuilt everything and I got the same error.<br><div><br></div><div><div>[ 0%] Building CXX object Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.o</div><div>cc1plus: error: unrecognized command line option "-fdiagnostics-show-option"</div><div>gmake[5]: *** [Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.o] Error 1</div><div>gmake[5]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'</div><div>gmake[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2</div><div>gmake[4]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'</div><div>gmake[3]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'</div><div>gmake[3]: *** [all] Error 2</div><div>make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2</div><div>make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2</div><div><br></div><div>I guess something is wrong in the "CMake/ctkFunctionCheckCompilerFlags.cmake" since I get this message at the beginning of the compilation. Unfortunatelly, I didn't have time to investigate it at all yet... :(</div><div><br></div><div><div>Macintosh-7:CTK nr52$ make clean</div><div>Macintosh-7:CTK nr52$ make -j2</div><div>-- Compiler Flags [-fdiagnostics-show-option] supported</div><div>-- Compiler Flags [-fstack-protector-all] supported</div><div><br></div><div> Nicolas</div><div><br></div></div><div><br></div><div><br></div><div><div>On Jun 18, 2010, at 3:55 PM, Jean-Christophe Fillion-Robin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Sophie, <br><br>Would you mean to give a try. A fix has been pushed.<br>See <a href="http://github.com/commontk/CTK/commit/c2b15303ad42788c0d506ed44853d8dd512c01c2">http://github.com/commontk/CTK/commit/c2b15303ad42788c0d506ed44853d8dd512c01c2</a><br> <br>Thks<br>Jc<br><br><div class="gmail_quote">On Fri, Jun 18, 2010 at 1:09 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks for reporting that problem.<br><br>I started to work on a fix this morning. Should be fixed in the next hours.<br> <br>Thks<br>Jc<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Jun 18, 2010 at 12:23 PM, Sophie Chen <span dir="ltr"><<a href="mailto:sophie.chen@kitware.com" target="_blank">sophie.chen@kitware.com</a>></span> wrote:<br> </div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Hello, <div><br></div><div>I was just at the 'make' step of the <a href="http://www.commontk.org/index.php/Build_Instructions" target="_blank">build instructions</a> on the MAC OS X when this error showed up and made itself at home. </div> <div><br></div><div>I downloaded yesterday's version of CTK, and updated today.<div><br></div></div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;">[ 85%] Performing build step for 'CTK-build'<br> [ 0%] Building CXX object Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.o<br>cc1plus: error: unrecognized command line option "-fdiagnostics-show-option"<br>make[5]: *** [Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.o] Error 1<br> make[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2<br>make[3]: *** [all] Error 2<br>make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2<br>make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br> make: *** [all] Error 2<br>MinasMorgul:CTK sophie$ </blockquote><div><div><div><br></div><div>This gcc version does not seem to be support the command line option.</div><div><br></div></div></div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"> gcc --version<br>i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)<br>Copyright (C) 2005 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</blockquote> <div><div><div> <div><br></div><div>Could you please give some advice how to avoid this problem?</div><div><br></div><div>Thanks, </div><div>Sophie</div></div><div><br></div><div><br></div><div><br></div></div></div> <br></div></div>_______________________________________________<br> Ctk-developers mailing list<br> <a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br> <br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br></font><div><div></div><div class="h5">Phone: 1-518-836-2174<br>Ext: 304<br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br> <span><ATT00001..txt></span></blockquote></div><br></div></div></body></html>