文件或目录,Ubuntu,linux(2023)"/>
fatal error: stdio.h: 没有那个文件或目录,Ubuntu,linux(2023)
问题如下(简单的C代码):
编译出错:
原因是gcc安装有问题:
安装的时候可能是这个语句出现了问题:
sudo apt-get install build-essential
运行结果
解决方法
sudo apt-get install aptitude
这个一路 y
sudo aptitude install libc6-dev
这个最开始要输入 n ,不要一路 y,实现降级。
成功效果
NiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNiceNice
别的可能原因是:
(113条消息) gcc编译时报错 fatal error: stdio.h: 没有那个文件 解决方法_gcc编译时没有那个文件或目录_mumuwei_l的博客-CSDN博客
更多推荐
fatal error: stdio.h: 没有那个文件或目录,Ubuntu,linux(2023)
发布评论