Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24755

CMake failed due to wrong path to the MinGW compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • Qt Creator 4.13.2
    • All Other Issues
    • None
    • Windows

    Description

      I just updated to the latest version of Qt with the maintenance tool, and suddenly none of the CMake projects are working. When trying to build an exercise for university, I get the following message (computer is in French).

      :-1: erreur : Generator: execution of make failed. Make command was: "nmake" "/nologo" "cmTC_29b7d\fast"CMake Error at D:/CMake/share/cmake-3.13/Modules/CMakeTestCXXCompiler.cmake:45 (message): The C++ compiler "C:/Qt/Tools/mingw810_32/bin/g++.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Cyril Albrecht/AppData/Local/Temp/QtCreator-wZEITo/qtc-cmake-BxrqcIrX/CMakeFiles/CMakeTmp Run Build Command:"nmake" "/nologo" "cmTC_29b7d\fast" Le fichier spécifié est introuvable Generator: execution of make failed. Make command was: "nmake" "/nologo" "cmTC_29b7d\fast" CMake will not be able to correctly generate this project.Call Stack (most recent call first): CMakeLists.txt:2 (project)

      The error seems to be that the repository mingw810_32 does not exist, but there is a mingw81_32 at this location. I guess the problem comes from there.

      I have no idea how to fix this issue on my own, if it is even possible.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            urocyon Cyril Albrecht
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes