xcode version: 4.6.3 on os x 10.8.3 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk owner1s-Mac:~ owner1$ cd bf019 owner1s-Mac:bf019 owner1$ mkdir cmakefiles owner1s-Mac:bf019 owner1$ cd cmakefiles/ owner1s-Mac:cmakefiles owner1$ cmake .. CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: /Users/owner1/bf019/cmakefiles/CMakeFiles/3.0.2/CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: /Users/owner1/bf019/cmakefiles/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake CMake Error at CMakeLists.txt:1 (project): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. CMake Error at CMakeLists.txt:1 (project): No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! owner1s-Mac:cmakefiles owner1$ gcc --version -bash: gcc: command not found owner1s-Mac:cmakefiles owner1$ rm -r * owner1s-Mac:cmakefiles owner1$ cmake .. -G "Xcode" -- The C compiler identification is AppleClang 4.2.0.4250028 -- The CXX compiler identification is AppleClang 4.2.0.4250028 -- Check for working C compiler using: Xcode -- Check for working C compiler using: Xcode -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Xcode -- Check for working CXX compiler using: Xcode -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- MACOSX_DEPLOYMENT_TARGET: CMake Error at cmake/Platform/Apple.cmake:15 (message): MACOSX_DEPLOYMENT_TARGET environment variable not set. Set this like so: 'export MACOSX_DEPLOYMENT_TARGET=10.6' Call Stack (most recent call first): CMakeLists.txt:24 (include) -- Configuring incomplete, errors occurred! See also "/Users/owner1/bf019/cmakefiles/CMakeFiles/CMakeOutput.log". owner1s-Mac:cmakefiles owner1$ export MACOSX_DEPLOYMENT_TARGET=10.7 owner1s-Mac:cmakefiles owner1$ cmake .. -G "Xcode" -- MACOSX_DEPLOYMENT_TARGET: 10.7 -- Compiling for OSX architectures: x86_64 -- Found Sparkle: /Users/owner1/bf019/lib/Sparkle.framework -- Found SDL2: /Users/owner1/bf019/lib/SDL2.framework;-framework Cocoa -- Determining system GL provider -- Atempting to use standard OpenGL -- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework -- Looking for include file pthread.h CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.0/Modules/Platform/Darwin.cmake:179 (message): Ignoring CMAKE_OSX_SYSROOT value: /Developer/SDKs/MacOSX10.7.sdk because the directory does not exist. Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.0/Modules/CMakeSystemSpecificInformation.cmake:36 (include) CMakeLists.txt:3 (project) -- Looking for include file pthread.h - not found CMake Error at /Applications/CMake.app/Contents/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE) /Applications/CMake.app/Contents/share/cmake-3.0/Modules/FindThreads.cmake:178 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:87 (find_package)