Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
On Mon, Oct 22, 2012 at 11:26 AM, Sean McBride wrote: > Just following up after a little while... > > > On Sat, 8 Sep 2012 10:48:11 -0400, David Cole said: > >>Does this happen regardless of which Xcode you select, or only with >>the -DP4 one? > > Happens with any of them. > >>Does this still happen for you if you use CMake from the 'next' branch? > > Seems fixed in 2.8.10rc2 BTW. > Excellent -- thanks for trying with rc2 and updating us here. > Cheers, > > -- > > Sean McBride, B. Eng s...@rogue-research.com > Rogue Researchwww.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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
Just following up after a little while... On Sat, 8 Sep 2012 10:48:11 -0400, David Cole said: >Does this happen regardless of which Xcode you select, or only with >the -DP4 one? Happens with any of them. >Does this still happen for you if you use CMake from the 'next' branch? Seems fixed in 2.8.10rc2 BTW. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
This should be fixed already in 'next' and 'master'. This bug report: http://public.kitware.com/Bug/view.php?id=13463 And this git commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e88bae77 use xcode-select to determine the Xcode to use... That fix is in 'master' already and will be in CMake 2.8.10. If you're using bleeding edge Xcode, please also use bleeding edge CMake. :-) HTH, David On Sat, Sep 8, 2012 at 10:48 AM, David Cole wrote: > Does this happen regardless of which Xcode you select, or only with > the -DP4 one? > > Does this still happen for you if you use CMake from the 'next' branch? > > > On Fri, Sep 7, 2012 at 6:30 PM, Sean McBride wrote: >> Hi all, >> >> I believe I am seeing this too. I have 3 versions of Xcode installed: >> >> /Applications/Xcode4.3.3.app >> /Applications/Xcode4.4.1.app >> /Applications/Xcode4.5-DP4.app >> >> I am careful to have no spaces or weird characters in those names. I am >> careful to use 'sudo xcode-select -switch' to point to the one I want. I >> always start with an empty bin directory. >> >> But CMake 2.8.9 always fails like this: >> >> - >> -- Check for working C compiler using: Xcode >> -- Check for working C compiler using: Xcode -- broken >> CMake Error at >> /Applications/CMake.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 >> (MESSAGE): >> The C compiler "/usr/bin/gcc" is not able to compile a simple test program. >> >> It fails with the following output: >> >>Change Dir: >> /Volumes/Leopard/Users/sean/kitware/VTK-analyze-bin/CMakeFiles/CMakeTmp >> >> >> >> Run Build Command:/Applications/CMake.app/Contents/bin/cmakexbuild -project >> CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec2711236228 >> -buildstyle Development >> >> xcodebuild: error: option '-buildstyle' is no longer supported >> - >> >> If I rename one of my Xcodes to just "Xcode.app" and 'sudo xcode-select >> -switch' to it, things work fine. >> >> Can anyone repro that? >> >> Thanks, >> >> Sean >> >> >> >> >> >> On Thu, 9 Aug 2012 19:52:49 +, Michael Toy said: >> >>>I have seen this problem as we upgraded from older XCodes. In all the >>>places where cmake looks at your version of Xcode except one, it looks >>>at "xcode-select -print–path". In that one place, it looks in / >>>Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, >>>and until then you can work around it by placing a symlink from / >>>Developer/Applications/XCode.app to your actual Xcode installation. >>> >>>From: Etuka Onono mailto:et...@tesco.net>> >>>Date: Wednesday, August 8, 2012 5:34 PM >>>To: "cmake@cmake.org<mailto:cmake@cmake.org>" >>>mailto:cmake@cmake.org>> >>>Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 >>> >>>After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. >>> >>>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: >>> >>>The C compiler identification is GNU 4.2.1 >>>The CXX compiler identification is GNU 4.2.1 >>>Checking whether C compiler has -isysroot >>>Checking whether C compiler has -isysroot - yes >>>Checking whether C compiler supports OSX deployment target flag >>>Checking whether C compiler supports OSX deployment target flag - yes >>>Check for working C compiler using: Xcode >>>Check for working C compiler using: Xcode -- broken >>> >>>CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/ >>>Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): >>>The C compiler "/usr/bin/gcc" is not able to compile a simple test program. >>> >>>It fails with the following output: >>> >>>Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp >>> >>> >>>Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild >>>-project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 >>>-buildstyle Development >>> >>>xcodebuild: error: option '-buildstyle' is no longer supported >>> >>>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. -- 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
Does this happen regardless of which Xcode you select, or only with the -DP4 one? Does this still happen for you if you use CMake from the 'next' branch? On Fri, Sep 7, 2012 at 6:30 PM, Sean McBride wrote: > Hi all, > > I believe I am seeing this too. I have 3 versions of Xcode installed: > > /Applications/Xcode4.3.3.app > /Applications/Xcode4.4.1.app > /Applications/Xcode4.5-DP4.app > > I am careful to have no spaces or weird characters in those names. I am > careful to use 'sudo xcode-select -switch' to point to the one I want. I > always start with an empty bin directory. > > But CMake 2.8.9 always fails like this: > > - > -- Check for working C compiler using: Xcode > -- Check for working C compiler using: Xcode -- broken > CMake Error at > /Applications/CMake.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 > (MESSAGE): > The C compiler "/usr/bin/gcc" is not able to compile a simple test program. > > It fails with the following output: > >Change Dir: > /Volumes/Leopard/Users/sean/kitware/VTK-analyze-bin/CMakeFiles/CMakeTmp > > > > Run Build Command:/Applications/CMake.app/Contents/bin/cmakexbuild -project > CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec2711236228 > -buildstyle Development > > xcodebuild: error: option '-buildstyle' is no longer supported > - > > If I rename one of my Xcodes to just "Xcode.app" and 'sudo xcode-select > -switch' to it, things work fine. > > Can anyone repro that? > > Thanks, > > Sean > > > > > > On Thu, 9 Aug 2012 19:52:49 +, Michael Toy said: > >>I have seen this problem as we upgraded from older XCodes. In all the >>places where cmake looks at your version of Xcode except one, it looks >>at "xcode-select -print–path". In that one place, it looks in / >>Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, >>and until then you can work around it by placing a symlink from / >>Developer/Applications/XCode.app to your actual Xcode installation. >> >>From: Etuka Onono mailto:et...@tesco.net>> >>Date: Wednesday, August 8, 2012 5:34 PM >>To: "cmake@cmake.org<mailto:cmake@cmake.org>" >>mailto:cmake@cmake.org>> >>Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 >> >>After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. >> >>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: >> >>The C compiler identification is GNU 4.2.1 >>The CXX compiler identification is GNU 4.2.1 >>Checking whether C compiler has -isysroot >>Checking whether C compiler has -isysroot - yes >>Checking whether C compiler supports OSX deployment target flag >>Checking whether C compiler supports OSX deployment target flag - yes >>Check for working C compiler using: Xcode >>Check for working C compiler using: Xcode -- broken >> >>CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/ >>Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): >>The C compiler "/usr/bin/gcc" is not able to compile a simple test program. >> >>It fails with the following output: >> >>Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp >> >> >>Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild >>-project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 >>-buildstyle Development >> >>xcodebuild: error: option '-buildstyle' is no longer supported >> >>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. -- 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
Hi all, I believe I am seeing this too. I have 3 versions of Xcode installed: /Applications/Xcode4.3.3.app /Applications/Xcode4.4.1.app /Applications/Xcode4.5-DP4.app I am careful to have no spaces or weird characters in those names. I am careful to use 'sudo xcode-select -switch' to point to the one I want. I always start with an empty bin directory. But CMake 2.8.9 always fails like this: - -- Check for working C compiler using: Xcode -- Check for working C compiler using: Xcode -- broken CMake Error at /Applications/CMake.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /Volumes/Leopard/Users/sean/kitware/VTK-analyze-bin/CMakeFiles/CMakeTmp Run Build Command:/Applications/CMake.app/Contents/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec2711236228 -buildstyle Development xcodebuild: error: option '-buildstyle' is no longer supported - If I rename one of my Xcodes to just "Xcode.app" and 'sudo xcode-select -switch' to it, things work fine. Can anyone repro that? Thanks, Sean On Thu, 9 Aug 2012 19:52:49 +, Michael Toy said: >I have seen this problem as we upgraded from older XCodes. In all the >places where cmake looks at your version of Xcode except one, it looks >at "xcode-select -print–path". In that one place, it looks in / >Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, >and until then you can work around it by placing a symlink from / >Developer/Applications/XCode.app to your actual Xcode installation. > >From: Etuka Onono mailto:et...@tesco.net>> >Date: Wednesday, August 8, 2012 5:34 PM >To: "cmake@cmake.org<mailto:cmake@cmake.org>" >mailto:cmake@cmake.org>> >Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 > >After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. > >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: > >The C compiler identification is GNU 4.2.1 >The CXX compiler identification is GNU 4.2.1 >Checking whether C compiler has -isysroot >Checking whether C compiler has -isysroot - yes >Checking whether C compiler supports OSX deployment target flag >Checking whether C compiler supports OSX deployment target flag - yes >Check for working C compiler using: Xcode >Check for working C compiler using: Xcode -- broken > >CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/ >Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): >The C compiler "/usr/bin/gcc" is not able to compile a simple test program. > >It fails with the following output: > >Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp > > >Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild >-project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 >-buildstyle Development > >xcodebuild: error: option '-buildstyle' is no longer supported > >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. -- 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
On 8/9/2012 4:58 PM, Etuka Onono wrote: ichael and David, thanks for responding. Rest assured that I always truncate my build directory when I come to a sticky halt with Cmake. Michael, I set a symmlink to /Developer/Applications/Xcode.app as you suggested, but this does not solve my problem (I know David had his doubts, I wanted to try anyway). I do think you are right about it having something to do with information on older issues of Xcode, though, as I have a clean install of Xcode 4.4.1 and Cmake 2.8.8 that works (neither have been upgraded) and I have been as rigorous as I feel I can be in deleting all Cmake artefacts when installing Cmake 2.8.8 (removed anything vaguely related to Cmake in /Library and ~/Library, removed all the symmlinks in /usr/bin, etc). See this bug report: http://www.cmake.org/Bug/view.php?id=13353 Trouble is here: xcodebuild: error: option '-buildstyle' is no longer supported Answer is : "Looks like it's no longer an issue with the final release of Xcode 4.4 and OS X 10.8. This issue can be closed. " -Bill -- 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
Michael and David, thanks for responding. Rest assured that I always truncate my build directory when I come to a sticky halt with Cmake. Michael, I set a symmlink to /Developer/Applications/Xcode.app as you suggested, but this does not solve my problem (I know David had his doubts, I wanted to try anyway). I do think you are right about it having something to do with information on older issues of Xcode, though, as I have a clean install of Xcode 4.4.1 and Cmake 2.8.8 that works (neither have been upgraded) and I have been as rigorous as I feel I can be in deleting all Cmake artefacts when installing Cmake 2.8.8 (removed anything vaguely related to Cmake in /Library and ~/Library, removed all the symmlinks in /usr/bin, etc). Thanks, Etuka Onono > Date: Thu, 9 Aug 2012 19:52:49 + > From: Michael Toy > Subject: Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X > 10.8 > To: "cmake@cmake.org" > Message-ID: > Content-Type: text/plain; charset="windows-1252" > > I have seen this problem as we upgraded from older XCodes. In all the places > where cmake looks at your version of Xcode except one, it looks at > "xcode-select -print?path". In that one place, it looks in > /Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, and > until then you can work around it by placing a symlink from > /Developer/Applications/XCode.app to your actual Xcode installation. > > From: Etuka Onono mailto:et...@tesco.net>> > Date: Wednesday, August 8, 2012 5:34 PM > To: "cmake@cmake.org<mailto:cmake@cmake.org>" > mailto:cmake@cmake.org>> > Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 > > After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. > > 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: > > The C compiler identification is GNU 4.2.1 > The CXX compiler identification is GNU 4.2.1 > Checking whether C compiler has -isysroot > Checking whether C compiler has -isysroot - yes > Checking whether C compiler supports OSX deployment target flag > Checking whether C compiler supports OSX deployment target flag - yes > Check for working C compiler using: Xcode > Check for working C compiler using: Xcode -- broken > > CMake Error at /Developer/CMake > 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 > (MESSAGE): > The C compiler "/usr/bin/gcc" is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp > > > Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild > -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 > -buildstyle Development > > xcodebuild: error: option '-buildstyle' is no longer supported > > 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. > > Thanks, > > Etuka Onono > -- next part -- > An HTML attachment was scrubbed... > URL: > <http://www.cmake.org/pipermail/cmake/attachments/20120809/044d2393/attachment-0001.htm> > > -- > > Message: 4 > Date: Thu, 9 Aug 2012 16:10:56 -0400 > From: David Cole > Subject: Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X > 10.8 > To: Michael Toy > Cc: "cmake@cmake.org" > Message-ID: > > Content-Type: text/plain; charset=windows-1252 > > If that's actually what the problem is here, then it should be fixed > in CMake 2.8.8. > > If you are moving from one Xcode to another, please ALWAYS start over > with an empty build directory. There are way too many things cached in > CMakeCache.txt that depend on file locations to even think about > trying to do an incremental build across a system compiler upgrade ( / > location change ... ) > > > Cheers, > David > > > On Thu, Aug 9, 2012 at 3:52 PM, Michael Toy wrote: >> I have seen this problem as we upgraded from older XCodes. In all the >> places where cmake looks at your version of Xcode except one, it looks at >> "xcode-select -print?path". In that one place, it looks in >> /Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, and >> until then you can work around it by placing a symlink fr
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
If that's actually what the problem is here, then it should be fixed in CMake 2.8.8. If you are moving from one Xcode to another, please ALWAYS start over with an empty build directory. There are way too many things cached in CMakeCache.txt that depend on file locations to even think about trying to do an incremental build across a system compiler upgrade ( / location change ... ) Cheers, David On Thu, Aug 9, 2012 at 3:52 PM, Michael Toy wrote: > I have seen this problem as we upgraded from older XCodes. In all the > places where cmake looks at your version of Xcode except one, it looks at > "xcode-select -print–path". In that one place, it looks in > /Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, and > until then you can work around it by placing a symlink from > /Developer/Applications/XCode.app to your actual Xcode installation. > > From: Etuka Onono > Date: Wednesday, August 8, 2012 5:34 PM > To: "cmake@cmake.org" > Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 > > After I upgraded to OS X 10.8, I recently upgraded my CMake version to > 2.8.8. > > 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: > > The C compiler identification is GNU 4.2.1 > The CXX compiler identification is GNU 4.2.1 > Checking whether C compiler has -isysroot > Checking whether C compiler has -isysroot - yes > Checking whether C compiler supports OSX deployment target flag > Checking whether C compiler supports OSX deployment target flag - yes > Check for working C compiler using: Xcode > Check for working C compiler using: Xcode -- broken > > CMake Error at /Developer/CMake > 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 > (MESSAGE): > The C compiler "/usr/bin/gcc" is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp > > > Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild > -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 > -buildstyle Development > > xcodebuild: error: option '-buildstyle' is no longer supported > > 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. > > Thanks, > > Etuka Onono > > -- > > 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
I have seen this problem as we upgraded from older XCodes. In all the places where cmake looks at your version of Xcode except one, it looks at "xcode-select -print–path". In that one place, it looks in /Developer/Applications/XCode.app. I think this bug is fixed in 2.8.9, and until then you can work around it by placing a symlink from /Developer/Applications/XCode.app to your actual Xcode installation. From: Etuka Onono mailto:et...@tesco.net>> Date: Wednesday, August 8, 2012 5:34 PM To: "cmake@cmake.org<mailto:cmake@cmake.org>" mailto:cmake@cmake.org>> Subject: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8 After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. 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: The C compiler identification is GNU 4.2.1 The CXX compiler identification is GNU 4.2.1 Checking whether C compiler has -isysroot Checking whether C compiler has -isysroot - yes Checking whether C compiler supports OSX deployment target flag Checking whether C compiler supports OSX deployment target flag - yes Check for working C compiler using: Xcode Check for working C compiler using: Xcode -- broken CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 -buildstyle Development xcodebuild: error: option '-buildstyle' is no longer supported 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. Thanks, Etuka Onono -- 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
Re: [CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
Hello, I have practically the same problem with OS X 10.7.4 and the last version of XCode (4.4.1). $> cmake -GXcode . -- The C compiler identification is GNU 4.2.1 -- The CXX compiler identification is GNU 4.2.1 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler using: Xcode -- Check for working C compiler using: Xcode -- broken CMake Error at /Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/llvm-gcc-4.2" is not able to compile a simple test program. It fails with the following output: Change Dir: /path_to_my_project/CMakeFiles/CMakeTmp Run Build Command:/Applications/CMake\ 2.8-8.app/Contents/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec404778880 -configuration Debug Thanks, Romain Le 09/08/12 02:34, Etuka Onono a écrit : After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. 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: The C compiler identification is GNU 4.2.1 The CXX compiler identification is GNU 4.2.1 Checking whether C compiler has -isysroot Checking whether C compiler has -isysroot - yes Checking whether C compiler supports OSX deployment target flag Checking whether C compiler supports OSX deployment target flag - yes Check for working C compiler using: Xcode Check for working C compiler using: Xcode -- broken CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 -buildstyle Development xcodebuild: error: option '-buildstyle' is no longer supported 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. Thanks, Etuka Onono -- 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
[CMake] CMake 2.8.8 Upgrade problem with Xcode on OS X 10.8
After I upgraded to OS X 10.8, I recently upgraded my CMake version to 2.8.8. 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: The C compiler identification is GNU 4.2.1 The CXX compiler identification is GNU 4.2.1 Checking whether C compiler has -isysroot Checking whether C compiler has -isysroot - yes Checking whether C compiler supports OSX deployment target flag Checking whether C compiler supports OSX deployment target flag - yes Check for working C compiler using: Xcode Check for working C compiler using: Xcode -- broken CMake Error at /Developer/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp Run Build Command:/Developer/CMake\ 2.8-8.app/Contents/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec3395723889 -buildstyle Development xcodebuild: error: option '-buildstyle' is no longer supported 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. Thanks, Etuka Onono-- 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