[CMake] CMake 2.4.6 and Xcode 4.2 on Mac OS X 10.7
Sean McBride
sean at rogue-research.com
Tue Nov 8 10:26:55 EST 2011
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 sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list