Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. French
  4. CMake - cl is not a full path...
Forum Updated to NodeBB v4.3 + New Features

CMake - cl is not a full path...

Scheduled Pinned Locked Moved Unsolved French
2 Posts 2 Posters 2.4k Views 1 Watching
  • 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.
  • astromoutA Offline
    astromoutA Offline
    astromout
    wrote on last edited by
    #1

    Hi,

    I tried to work on Stellarium developpement with Wt Creator.
    But I have this error :
    "CMake Error at CMakeLists.txt:18 (PROJECT):
    The CMAKE_C_COMPILER:

    cl
    

    is not a full path and was not found in the PATH.

    To use the JOM generator with Visual C++, cmake must be run from a shell
    that can use the compiler cl from the command line. This environment is
    unable to invoke the cl compiler. To fix this problem, run cmake from the
    Visual Studio Command Prompt (vcvarsall.bat).

    Tell CMake where to find the compiler by setting either the environment
    variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
    the compiler, or to the compiler name if it is in the PATH.

    CMake Error at CMakeLists.txt:18 (PROJECT):
    The CMAKE_CXX_COMPILER:

    cl
    

    is not a full path and was not found in the PATH.

    To use the JOM generator with Visual C++, cmake must be run from a shell
    that can use the compiler cl from the command line. This environment is
    unable to invoke the cl compiler. To fix this problem, run cmake from the
    Visual Studio Command Prompt (vcvarsall.bat).

    Tell CMake where to find the compiler by setting either the environment
    variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
    to the compiler, or to the compiler name if it is in the PATH.

    Configuring incomplete, errors occurred!
    See also "C:/Users/Club astro/AppData/Local/Temp/QtCreator-YqKszO/qtc-cmake-djccxrIV/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/Club astro/AppData/Local/Temp/QtCreator-YqKszO/qtc-cmake-djccxrIV/CMakeFiles/CMakeError.log".
    CMake Deprecation Warning:
    The 'cmake-server(7)' is deprecated. Please port clients to use the
    'cmake-file-api(7)' instead.
    "

    I don't know what I have to do (I search a long time on internet without any success).

    astromout

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Might be a silly question but do you have a Qt version built with Visual Studio ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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