[CMake] CMake cvs TOT and Xcode

James Bigler jamesbigler at gmail.com
Tue Sep 29 00:17:46 EDT 2009


I tried this with a fairly simple example with CMake cvs TOT.  Any ideas?

CMakeLists.txt:
cmake_minimum_required(VERSION 2.6)
project(my_include_directories)

$ /code/cmake-cvs/install/bin/cmake ../ -G Xcode
-- 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
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
  OutputFile: ''
    copyFile:
'/code/CMake-cuda/build-xcode/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

Unable to find executable for try_compile: tried
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/cmTryCompileExec" and
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec"
and
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/Development/cmTryCompileExec".

-- Detecting C compiler ABI info - done
CMake Error at
/code/cmake-cvs/install/share/cmake-2.7/Modules/CMakeDetermineCompilerABI.cmake:40
(FILE):
  file STRINGS file
  "/code/CMake-cuda/build-xcode/CMakeFiles/CMakeDetermineCompilerABI_C.bin"
  cannot be read.
Call Stack (most recent call first):

/code/cmake-cvs/install/share/cmake-2.7/Modules/CMakeTestCCompiler.cmake:69
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:7 (project)


-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
CMake Error: Could not COPY_FILE.
  OutputFile: ''
    copyFile:
'/code/CMake-cuda/build-xcode/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'

Unable to find executable for try_compile: tried
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/cmTryCompileExec" and
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec"
and
"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeTmp/Development/cmTryCompileExec".

-- Detecting CXX compiler ABI info - done
CMake Error at
/code/cmake-cvs/install/share/cmake-2.7/Modules/CMakeDetermineCompilerABI.cmake:40
(FILE):
  file STRINGS file

"/code/CMake-cuda/build-xcode/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"
  cannot be read.
Call Stack (most recent call first):

/code/cmake-cvs/install/share/cmake-2.7/Modules/CMakeTestCXXCompiler.cmake:62
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:7 (project)


-- Configuring incomplete, errors occurred!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090928/8614a909/attachment.htm>


More information about the CMake mailing list