Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CMAKE_MAKE_PROGRAM is not set.
Forum Updated to NodeBB v4.3 + New Features

CMAKE_MAKE_PROGRAM is not set.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 4.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Flaviu 0
    wrote on 7 Apr 2021, 16:38 last edited by
    #1

    I have tried to compile a C++ Github project, using Qt Creator 4.13.1, on Win10 64bit.

    When I loaded CMakeLists.txt into Qt creator, I got:

    Running C:\Program Files\CMake\bin\cmake.exe -S C:/Project/myproject/src -B C:/Users/u724776/AppData/Local/Temp/QtCreator-ugpLmP/qtc-cmake-hLotyEKG in C:\Users\u724776\AppData\Local\Temp\QtCreator-ugpLmP\qtc-cmake-hLotyEKG.
    CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
    -- Configuring incomplete, errors occurred!
    

    How can I understand this message ? I didn't heard of "Ninja", I don't have it, why is yelling for that ? How can I overcome this error ?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 7 Apr 2021, 16:42 last edited by JoeCFD 4 Jul 2021, 16:46
      #2

      @Flaviu-0 said in CMAKE_MAKE_PROGRAM is not set.:

      CMake Error: CMake was unable to find a build program corresponding to "Ninja"

      Your problem is not qt related.
      https://ninja-build.org/manual.html

      cmake uses ninja in your case. Try to install ninja and you will be all right.

      1 Reply Last reply
      0

      1/2

      7 Apr 2021, 16:38

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved