博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
term.h: No such file or directory, curses.h: No...
阅读量:6929 次
发布时间:2019-06-27

本文共 557 字,大约阅读时间需要 1 分钟。

hot3.png

Linux Errors:

Under Linux environment, some errors have been found:

term.h: No such file or directory and curses.h: No such file or directory

Solution:

we need ncurses lib. type command in your Linux( Suppose Linux is Ubuntu ):[1]

1 sudo apt-get install libncurses5-dev

After the above command is run correctly, then you can compile and link your c(cpp) source code(for example, a.c) by using ncurses Lib:

1 gcc -o a.out a.c -lncurses

It's noticed that you should not forget typing "-lncurses".

Reference:

转载于:https://my.oschina.net/zhangdapeng89/blog/73559

你可能感兴趣的文章
js获取页面url中的各项值
查看>>
也谈svn分支与合并
查看>>
使用openssl对常见证书格式转换
查看>>
mysql导出导入数据
查看>>
nginx源码安装及CA颁发
查看>>
qq邮箱过滤器 + Foxmail(IMAP)
查看>>
5.初识python装饰器 高阶函数+闭包+函数嵌套=装饰器
查看>>
Dovecot服务器(邮件接收服务器)
查看>>
CSS——定位
查看>>
dpkg ---- apt-get ------ aptitude 三种方式的区别 及命令格式
查看>>
kvm虚拟化基础环境
查看>>
fpm包安装-
查看>>
python 精练(1)
查看>>
以HTTP方式共享当前文件夹的文件
查看>>
JavaScript内置对象(一)
查看>>
python中if __name__ == "__main__":用法解析
查看>>
linux - RAID技术
查看>>
python的subprocess模块
查看>>
java转换ppt,ppt转成图片,获取备注,获取文本
查看>>
linux命令:passwd
查看>>