<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin: 0px; ">After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. </div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">I can build CMake projects if I use "Unix Makefiles" as a generator, but if I use the Xcode generator, I get the following error:</div><div style="margin: 0px; "><br></div><div style="margin: 0px; "><div style="margin: 0px; "><!--StartFragment-->The C compiler identification is GNU 4.2.1</div><div style="margin: 0px; ">The CXX compiler identification is GNU 4.2.1</div><div style="margin: 0px; ">Checking whether C compiler has -isysroot</div><div style="margin: 0px; ">Checking whether C compiler has -isysroot - yes</div><div style="margin: 0px; ">Checking whether C compiler supports OSX deployment target flag</div><div style="margin: 0px; ">Checking whether C compiler supports OSX deployment target flag - yes</div><div style="margin: 0px; ">Check for working C compiler using: Xcode</div><div style="margin: 0px; ">Check for working C compiler using: Xcode -- broken<!--EndFragment--></div></div><div style="margin: 0px; "><br></div><div style="margin: 0px; "><!--StartFragment--><span style=" color:#ff0000;">CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</span></div><div style="margin: 0px; "><span style=" color:#ff0000;"> The C compiler "/usr/bin/gcc" is not able to compile a simple test program.</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;"> It fails with the following output:</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;"> Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><p style="margin: 0px; "><span style=" color:#ff0000;"> </span></p><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;"> Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild</span></div><div style="margin: 0px; "><span style=" color:#ff0000;"> -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889</span></div><div style="margin: 0px; "><span style=" color:#ff0000;"> -buildstyle Development</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;"> xcodebuild: error: option '-buildstyle' is no longer supported</span><!--EndFragment--></div><div style="margin: 0px; "><span style=" color:#ff0000;"><br></span></div><div style="margin: 0px; ">I understand that this error is associated with earlier versions of Cmake that are incompatible with Xcode 4.4. I have tried removing all traces of CMake 2.8.8 that I can from my system and re-installing, but I cannot get rid of this error. I would be grateful for suggestions of what to try next.</div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">Thanks,</div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">Etuka Onono</div></body></html>