0

Ubuntu 18.04 past cmake version 3.10.2

After I have install cmake with sudo make ,sudo make install,and cmake --version

(base) lzw@resplendent-star:~/3d_lib/cmake-3.17.1$ cmake --version
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/share/cmake-3.10
cmake version 3.10.2

1 Answers1

0

can confirm getting same error ubuntu 18.04 updated cmake to cmake-3.17.2 from https://cmake.org/download/

cd $CMAKE_DOWNLOAD_PATH
./configure
make
sudo make install

results in

def@etho:~/xenium/xenium/build$ CC=gcc-8 CXX=g++-8 cmake ..

CMake Error: Could not find CMAKE_ROOT !!!

CMake has most likely not been installed correctly.

Modules directory not found in /usr/local/share/cmake-3.5

CMake Error: Error executing cmake::LoadCache().

Aborting.

answer on here worked well - I used the last comment from DM LOWE. don't forget to resource your rc

CMake Error: Could not find CMAKE_ROOT?

Eugene K
  • 123
def
  • 21
  • 6