[Ctk-developers] Mac Build CTK Error?

Sophie Chen sophie.chen at kitware.com
Fri Jun 18 16:23:34 UTC 2010


Hello,

I was just at the 'make' step of the build
instructions<http://www.commontk.org/index.php/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100618/af916f77/attachment.htm>


More information about the Ctk-developers mailing list