错误:curses.h:没有这样的文件或目录
您会看到以下错误:
curses.h: No such file or directory
解
在Debian / Ubuntu上,安装软件包libncurses5-dev
和libncursesw5-dev
:
apt-get install libncurses5-dev libncursesw5-dev
在Fedora / RedHat / CentOS上,安装软件包ncurses-devel
和ncurses
:
yum install ncurses-devel ncurses