I'm having some trouble in setting up our CMake-system to use MSYS
Makefiles together with cl.exe. The environments seems all setup, cl.exe
is found, but there is some trouble in detecting the compiler ABI info:
$ rm -f CMakeCache.txt && cmake ../trunk/ -G"MSYS Makefiles" -DCMAKE_AR=ar
-DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1400
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile:
'E:/dev/ide-platform/build.cdt/CMakeFiles/CMakeDetermineCompilerABI_C.bin'
-- Detecting C compiler ABI info - done
CMake Error at C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeDetermineCompilerABI.cmake:24 (FILE):
file STRINGS file
"E:/dev/ide-platform/build.cdt/CMakeFiles/CMakeDetermineCompilerABI_C.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:51
(CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:5 (project)
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile:
'E:/dev/ide-platform/build.cdt/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'
-- Detecting CXX compiler ABI info - done
CMake Error at C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeDetermineCompilerABI.cmake:24 (FILE):
file STRINGS file
"E:/dev/ide-platform/build.cdt/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:44
(CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:5 (project)
Any clues?
--
/Jesper
_______________________________________________
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