[Ctk-developers] Mac Build CTK Error?

Nicolas Rannou Nicolas_Rannou at hms.harvard.edu
Sat Jun 19 22:14:05 EDT 2010


Thanks it's working now!

     Nicolas


On Jun 19, 2010, at 7:54 PM, Jean-Christophe Fillion-Robin wrote:

> I think we are all set now.
> See http://github.com/commontk/CTK/commit/bdb2e040022c1e082016b6646eac0d57f987437a
>
> Thanks
> Jc
>
> On Fri, Jun 18, 2010 at 5:52 PM, Nicolas Rannou <nicolas_rannou at hms.harvard.edu 
> > wrote:
> Hi Jc,
>
> I updated CTK and rebuilt everything and I got the same error.
>
> [  0%] Building CXX object Libs/Core/CMakeFiles/CTKCore.dir/ 
> ctkCommandLineParser.cpp.o
> cc1plus: error: unrecognized command line option "-fdiagnostics-show- 
> option"
> gmake[5]: *** [Libs/Core/CMakeFiles/CTKCore.dir/ 
> ctkCommandLineParser.cpp.o] Error 1
> gmake[5]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'
> gmake[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2
> gmake[4]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'
> gmake[3]: Leaving directory `/Users/nr52/workspace/CTK/CTK-build'
> gmake[3]: *** [all] Error 2
> make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2
> make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2
>
> 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... :(
>
> Macintosh-7:CTK nr52$ make clean
> Macintosh-7:CTK nr52$ make -j2
> -- Compiler Flags [-fdiagnostics-show-option] supported
> -- Compiler Flags [-fstack-protector-all] supported
>
>     Nicolas
>
>
>
> On Jun 18, 2010, at 3:55 PM, Jean-Christophe Fillion-Robin wrote:
>
>> Sophie,
>>
>> Would you mean to give a try. A fix has been pushed.
>> See http://github.com/commontk/CTK/commit/c2b15303ad42788c0d506ed44853d8dd512c01c2
>>
>> Thks
>> Jc
>>
>> On Fri, Jun 18, 2010 at 1:09 PM, Jean-Christophe Fillion-Robin <jchris.fillionr at kitware.com 
>> > wrote:
>> Thanks for reporting that problem.
>>
>> I started to work on a fix this morning.  Should be fixed in the  
>> next hours.
>>
>> Thks
>> Jc
>>
>> On Fri, Jun 18, 2010 at 12:23 PM, Sophie Chen <sophie.chen at kitware.com 
>> > wrote:
>> Hello,
>>
>> I was just at the 'make' step of the build instructions on the MAC  
>> OS X when this error showed up and made itself at home.
>>
>> I downloaded yesterday's version of CTK, and updated today.
>>
>> [ 85%] Performing build step for 'CTK-build'
>> [  0%] Building CXX object Libs/Core/CMakeFiles/CTKCore.dir/ 
>> ctkCommandLineParser.cpp.o
>> cc1plus: error: unrecognized command line option "-fdiagnostics- 
>> show-option"
>> make[5]: *** [Libs/Core/CMakeFiles/CTKCore.dir/ 
>> ctkCommandLineParser.cpp.o] Error 1
>> make[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2
>> make[3]: *** [all] Error 2
>> make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2
>> make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2
>> make: *** [all] Error 2
>> MinasMorgul:CTK sophie$
>>
>> This gcc version does not seem to be support the command line option.
>>
>> gcc --version
>> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
>> Copyright (C) 2005 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.   
>> There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
>> PURPOSE.
>>
>> Could you please give some advice how to avoid this problem?
>>
>> Thanks,
>> Sophie
>>
>>
>>
>>
>> _______________________________________________
>> Ctk-developers mailing list
>> Ctk-developers at commontk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>>
>>
>> -- 
>> Phone: 1-518-836-2174
>> Ext: 304
>>
>>
>>
>> -- 
>> Phone: 1-518-836-2174
>> Ext: 304
>> <ATT00001..txt>
>
>
>
>
> -- 
> Phone: 1-518-836-2174
> Ext: 304

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100619/ebf68c84/attachment.html>


More information about the Ctk-developers mailing list