In the CMake source tree, can you try to build "Tests/Tutorial/Step1" with the 
Xcode generator and report the results?

Can you send your simple CMakeLists.txt file and its single source here?

What does your machine report when you run "xcode-select -print-path"?


On Nov 19, 2012, at 5:25 AM, Nicholas Yue <yue.nicho...@gmail.com> wrote:

> Hi,
> 
>    I have a simple CMakeLists.txt file compiling a single source via the 
> generator Xcode
> 
>    I have been following recent conversation about CMake 2.8.8/2.8.9 having 
> problem with Xcode 4.4.1 and read that the problem might be resolved in CMake 
> 2.8.10
> 
>    I am on OS X 10.7.4, I have no problem building with the standard Makefile 
> generator or the Eclipse generator.
> 
>    When I tried to build the generated project with xcodebuild, I get the 
> following
> 
> ====================
> === BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Project WITH THE DEFAULT 
> CONFIGURATION (Debug) ===
> Check dependencies
> 
> PhaseScriptExecution "CMake Rules" 
> Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
>    cd /Users/nicholas/temp/xcode
>    /bin/sh -c 
> /Users/nicholas/temp/xcode/Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
> echo ""
> 
> make -f /Users/nicholas/temp/xcode/CMakeScripts/ReRunCMake.make
> make[1]: *** No rule to make target 
> `/Users/nicholas/temp/xcode/CMakeFiles/2.8.10/CMakeCCompiler.cmake', needed 
> by `CMakeFiles/cmake.check_cache'.  Stop.
> make: *** [/Users/nicholas/temp/xcode/CMakeFiles/ZERO_CHECK] Error 2
> Command /bin/sh failed with exit code 2
> 
> 
> ** BUILD FAILED **
> 
> 
> The following build commands failed:
>    PhaseScriptExecution "CMake Rules" 
> Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
> (1 failure)
> ====================
> 
> 
> Regards
> 
> -- 
> 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
> 
> --
> 
> 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

Reply via email to