CMake Error: Could not find CMAKE_ROOT !!! 1

CMake Error: Could not find CMAKE_ROOT !!!

Do hash -r to clear the cache, then do cmake --version.

Here is what the above code is Doing:
1. The first line is a shebang. It tells the shell what program to use to run the script.
2. The second line is a comment.
3. The third line is a command. It tells the shell to run the command cmake –version.
4. The fourth line is a comment.
5. The fifth line is a command. It tells the shell to run the command hash -r.
6. The sixth line is a comment.
7. The seventh line is a command. It tells the shell to run the command cmake –version.

Similar Posts