CMake Error: Could not find CMAKE_ROOT !!!(ubuntu14.04)

来源:互联网 发布:怎样改手机淘宝会员名 编辑:程序博客网 时间:2024/05/16 10:58
$ cmake -D CMAKE_INSTALL_PREFIX=/opt/sequence_to_sequence_video_to_text/ -D CMAKE_BUILD_TYPE=debug ../
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.


Solution:

# aptitude purge cmake

# aptitude install cmake

In one word, just re-install cmake is ok!

0 0
原创粉丝点击