curses.h: No such file or directory

Posted 天国的雪

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了curses.h: No such file or directory相关的知识,希望对你有一定的参考价值。

嵌入式linux移植时,编译busybox或者内核时使用make menuconfig有时会遇到这个错误

  Linux Error: curses.h: No such file or directory

这是因为缺少响应的依赖库

 

解决方法:

  CentOS :yum install ncurses-devel ncurses

  Ubuntu: sudo apt-get install libncurses5-dev libncursesw5-dev

以上是关于curses.h: No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章