I'm trying to use CMake with an admittedly odd toolchain (Adobe's Alchemy
project) and it's failing at configure time while detecting the C/C++ ABI info
with the error "CMake Error: Could not COPY_FILE"
I'm sure this is a bug in the toolchain and not CMake, but I'm not sure how to
diagnose it. How would I go about debugging this? What is CMake doing at this
step? Is there a "verbose" mode for configuration so I can see the params its
passing the gcc? Here is the full error:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler:
/home/asimmons/alchemy-ubuntu-v0.5a/achacks/gcc
-- Check for working C compiler:
/home/asimmons/alchemy-ubuntu-v0.5a/achacks/gcc -- works
-- Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile:
'/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeDetermineCompilerABI_C.bin'
Unable to find executable for try_compile: tried
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/cmTryCompileExec"
and
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec"
and
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec".
-- Detecting C compiler ABI info - done
CMake Error at
/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):
file STRINGS file
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeDetermineCompilerABI_C.bin"
cannot be read.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:9 (project)
-- Check for working CXX compiler:
/home/asimmons/alchemy-ubuntu-v0.5a/achacks/g++
-- Check for working CXX compiler:
/home/asimmons/alchemy-ubuntu-v0.5a/achacks/g++ -- works
-- Detecting CXX compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile:
'/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'
Unable to find executable for try_compile: tried
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/cmTryCompileExec"
and
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec"
and
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec".
-- Detecting CXX compiler ABI info - done
CMake Error at
/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):
file STRINGS file
"/home/asimmons/Development/aaronSandBox/alchemy-test/.build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"
cannot be read.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64
(CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:9 (project)
-- Configuring incomplete, errors occurred!
_______________________________________________
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