[CMake] 2.8.11rc1 - OSX Lion and Xcode 4.4.1

Nicholas Yue yue.nicholas at gmail.com
Thu Mar 21 07:27:41 EDT 2013


Hi,

     I am trying out CMake 2.8.11rc1 on OS X Lion with XCode 4.4.1

     When I use the "Xcode" generator, I get the following messages
=================================================================
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/nicholas/temp/xcode/build
=================================================================

     When I attempt to do a build regardless of the above, I get the 
following

=================================================================
Xcode 4.4.1
Build version 4F1003
Tan-Meng-Yues-MacBook:build nicholas$ xcodebuild
=== BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Project WITH THE 
DEFAULT CONFIGURATION (Debug) ===
Check dependencies

PhaseScriptExecution "CMake Rules" 
build/Project.build/Debug/ZERO_CHECK.build/Script-3F926441115C46B2986F8D6A.sh
     cd /Users/nicholas/temp/xcode
     /bin/sh -c 
/Users/nicholas/temp/xcode/build/Project.build/Debug/ZERO_CHECK.build/Script-3F926441115C46B2986F8D6A.sh
echo ""

make -f /Users/nicholas/temp/xcode/build/CMakeScripts/ReRunCMake.make
make[1]: *** No rule to make target 
`/Users/nicholas/temp/xcode/build/CMakeFiles/2.8.11-rc1/CMakeCCompiler.cmake', 
needed by 
`/Users/nicholas/temp/xcode/build/CMakeFiles/cmake.check_cache'. Stop.
make: *** [/Users/nicholas/temp/xcode/build/CMakeFiles/ZERO_CHECK] Error 2
Command /bin/sh failed with exit code 2


** BUILD FAILED **


The following build commands failed:
     PhaseScriptExecution "CMake Rules" 
build/Project.build/Debug/ZERO_CHECK.build/Script-3F926441115C46B2986F8D6A.sh
(1 failure)
=================================================================


Cheers

-- 
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools



More information about the CMake mailing list