I'm trying to build a github project using cmake and I've been having a lot of trouble. I'm creating a build directory and calling cmake like so:
cd github_project_directory mkdir build cd build cmake ..
This is the error I'm getting:
CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/bin CMake Error: Error executing cmake::LoadCache(). Aborting.
I think there is a problem with how cmake is installed but I can't seem to figure it out. I've tried uninstalling and reinstalling but...I think it might have created even more trouble.
I'm on Ubuntu 14.04. Happy to provide more information as required.