On Sat, Apr 3, 2021 at 1:11 PM Srijan <[email protected]> wrote:

> Thank you for taking out time to read my problem precisely.
> About the command line message, it is giving command not found exception
> ('cmake' is not recognized as an internal or external command).


This means that your command line (cmd.exe or powershell, not sure which
one you use) cannot find the cmake program. After you installed CMake (from
https://cmake.org/install/), try specifying a full path to it. Something
like the following, depending on where you installed CMake.

    C:\Users\Jiri\Downloads\CMake\bin\cmake ..

If it works for you that way, then investigate how to set the PATH
variable, to put cmake on the search path, so you don't have to specify the
full absolute path to it all the time [1]. Or just continue specifying the
full path. Or install Visual Studio 2019 Community, because it integrates
CMake and should work out of the box [2]. Or install Ubuntu, that should
work too, because when you install CMake in Ubuntu, it will be put on PATH
for you automatically.

[1]
https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them
[2]
https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-160
-- 
Mit freundlichen Grüßen / Kind regards
Jiri Daněk

Reply via email to