Mit CMake makefiles unter Windows erstellen.



  • Hallo zusammen,

    wenn ich mit CMake unter Windows XP einen UNIX Makefile erstellen möchte bekomme ich immer diesen Fehler:

    CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_C_COMPILER_ENV_VAR
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_C_COMPILER
    CMake Error: Could not find cmake module file:C:/Dokumente und Einstellungen/xxx/Desktop/CMakeFiles/CMakeCCompiler.cmake
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_CXX_COMPILER_ENV_VAR
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_CXX_COMPILER
    CMake Error: Could not find cmake module file:C:/Dokumente und Einstellungen/xxx/Desktop/CMakeFiles/CMakeCXXCompiler.cmake
    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
    Configuring incomplete, errors occurred!

    Wie muss ich CMake einstellen, dass ich unter Windows auch UNIX Makefiles erstellen kann?

    Danke & Gruß,
    Esco


Anmelden zum Antworten