当前位置:网站首页>xcode升级后找不到 C语言头文件 stdio.h的解决办法
xcode升级后找不到 C语言头文件 stdio.h的解决办法
2022-07-21 05:06:00 【ruglcc】
问题引出
每次xcode10版本更新后,在做C/C++开发时,经常会发现之前的代码编译出现了问题,提示fatal error: 'stdio.h' file not found
解决办法
方法1
安装命令行工具,在终端下执行
xcode-select --install
如果出现如下信息,请用方法2
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
方法2
cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg
系统更新后,移除老的工具
rm -rf /Library/Developer/CommandLineTools
再次使用xcode-select --instal
边栏推荐
- jsp标签02
- Dynamically listen for the height of DOM elements
- Data analysis of akali teaching Bureau in the first half of the fifth set
- 自定义MVC原理
- Reset Form
- Don't pull it today, don't pull it, read it in pieces
- 蛇形数字宫格的实现. 编写一个cube函数,入参为num, 通过js实现 要求如下:当num=3时,输出表格效果为:[[1,2,3][6,5,4][7,8,9]]
- Available parameters are [list]批量上传时错误
- 2020常州市程序设计小能手真题及题解
- 微信小程序request:fail -2:net::ERR_FAILED
猜你喜欢
随机推荐
格式化时间
Differences and usage scenarios between usememo and usecallback
JS operation mechanism
2020常州市程序设计小能手真题及题解
uniapp 下拉刷新、上拉加载更多、最常见的节流场景
In the fourth game, where is the restaurant? Shepherd boy points to Xinghua village
C language to achieve three chess games - pattern open version(
The fifth Bureau, akali teaching Bureau
蛇形数字宫格的实现. 编写一个cube函数,入参为num, 通过js实现 要求如下:当num=3时,输出表格效果为:[[1,2,3][6,5,4][7,8,9]]
点击返回按钮,返回到之前的页面
Why use the fast and slow pointer to find the link of the linked list, and the fast pointer and the slow pointer must meet?
通用分页01
Fifth Bureau akali teaching Bureau data analysis
$.each的用法
Moment custom time interval
原型、原型链、构造函数、实例的关系
Custom MVC principle
In the fourth game, where is the restaurant? Shepherd boy points to Xinghua village from afar and matches several to relieve the pressure on the line
12.【I/O流get()与getline()与put()函数】
在控制台输出语句