1. Holger Frydrych
  2. ogredeps
  3. Issues
Issue #6 resolved

CMake on OSX goes endless when trying to generate Makefiles

Francisco Requena
created an issue

For Xcode project files it works. No luck with Makefiles. CMake keeps looping those messages:

{{{ The C compiler identification is GNU The CXX compiler identification is GNU 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: /usr/bin/gcc Check for working C compiler: /usr/bin/gcc -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Checking whether CXX compiler has -isysroot Checking whether CXX compiler has -isysroot - yes Checking whether CXX compiler supports OSX deployment target flag Checking whether CXX compiler supports OSX deployment target flag - yes Check for working CXX compiler: /usr/bin/c++ Check for working CXX compiler: /usr/bin/c++ -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check size of void Check size of void - failed Configuring done You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= /usr/bin/gcc CMAKE_CXX_COMPILER= /usr/bin/c++ }}}

I'm using CMake 2.8-7 on OS X Lion.

Btw, it seems to be related with this issue (forcing compiler in a CMakeLists): http://public.kitware.com/Bug/view.php?id=8193