I'm trying to use a mingw32 toolchain on Linux (with cmake 2.8.6) and I get: -- The C compiler identification is GNU CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found. Please set CMAKE_RC_COMPILER to a valid compiler path or name. -- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc CMake Error at /home/erk/CMake/cmake-Verk-HEAD/share/cmake-2.8/Modules/CMakeRCInformation.cmake:22 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): /home/erk/CMake/cmake-Verk-HEAD/share/cmake-2.8/Modules/Platform/Windows-GNU.cmake:60 (enable_language) /home/erk/CMake/cmake-Verk-HEAD/share/cmake-2.8/Modules/Platform/Windows-GNU-C.cmake:1 (include) /home/erk/CMake/cmake-Verk-HEAD/share/cmake-2.8/Modules/CMakeCInformation.cmake:56 (INCLUDE) CMakeLists.txt:2 (PROJECT)
CMake Error: CMAKE_RC_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- broken Test project is attached? My Toolchain looks much like: http://www.cmake.org/Wiki/CmakeMingw Why does cmake complains about RC compiler? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
TestProj.tgz
Description: GNU Zip compressed data
-- 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