1.常见错误:
1.
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:82 (MESSAGE):
Curses library not found. Please install appropriate package,
原因:没有安装依赖包,
解决方法:
#1.rm CMakeCache.txt
#2.yum install ncurses-devel