[CMake] cmake errror
Enrique Izaguirre
enrique.izaguirre at gmail.com
Wed Mar 30 18:23:18 EDT 2011
Hello friends,
When running cmake command with a toolchain file I got this error:
-- Detecting CXX compiler ABI info - done
CMake Error at C:/cygwin/CMake/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:48 (FILE):
file STRINGS file
"C:/OMAPFlash_Latest/Cmake_OMAPFlash/omapflash/cmake_build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"
cannot be read.
Call Stack (most recent call first):
C:/cygwin/CMake/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64
(CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:2 (project)
The toolchain file has the following content:
set(CMAKE_SYSTEM_NAME Linux)
#specify the cross-compiler
set (CMAKE_C_COMPILER /bin/gcc-linux)
#set (CMAKE_C_FLAGS -Wall -pedantic -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP
-DFIX_WIN32 -DNO_ZIP -D_DEBUG -D_CONSOLE)
set (CMAKE_CXX_COMPILER /bin/g++-linux)
set (CMAKE_CXX_FLAGS -Wall -pedantic -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP
-DFIX_WIN32 -D_DEBUG -D_CONSOLE)
It actually was working right in one computer, but when installed in another
I got this error. I already checked that all the environment is exactly the
same, but I don't know where to look now.
Can you help me?
Thanks
Enrique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110330/c1cef213/attachment.htm>
More information about the CMake
mailing list