More info, please... I assume you mean CMake 2.8.6 and not 2.4.6, as in the subject line... :-)
Are you setting CC and CXX before calling "cmake -G Xcode ../CMake"? That's not a valid way of setting the compiler to a different compiler with the Xcode generator. Are you trying to build CMake or some other project? In reality, the Xcode generator only works 100% reliably well when you do not try to specify the compiler, and let Xcode use the one it wants to use by default. HTH, David On Tue, Nov 8, 2011 at 10:26 AM, Sean McBride <s...@rogue-research.com> wrote: > Hi all, > > I've updated one of my dashboard machines to 10.7 and Xcode 4.2 and am having > trouble with the Xcode generator. It fails with: > > --------- > The C compiler "/usr/bin/llvm-gcc" is not able to compile a simple test > program. > > It fails with the following output: > > Change Dir: > /Users/builder/external/CMake-xcode-dbg-x86_64/CMakeFiles/CMakeTmp > > > > Run Build Command:/Applications/CMake.app/Contents/bin/cmakexbuild -project > CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec -configuration > Debug > --------- > > The Xcode project file at: > > /Users/builder/external/CMake-xcode-dbg-x86_64/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.xcodeproj > > is but an empty folder, and Xcode crashes trying to open it. > > If I use /usr/bin/clang things work. > > Anyone tried a similar setup? How to debug this further? > > Cheers, > > -- > ____________________________________________________________ > Sean McBride, B. Eng s...@rogue-research.com > Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake