当前位置:网站首页>The C language header stdio cannot be found after Xcode upgrade H solution
The C language header stdio cannot be found after Xcode upgrade H solution
2022-07-21 20:42:00 【ruglcc】
Question elicitation
Every time xcode10 After version update , Doing it C/C++ When developing , It is often found that there are problems with the previous code compilation , Tips fatal error: 'stdio.h' file not found
terms of settlement
Method 1
Install command line tools , Execute under the terminal
xcode-select --install
If the following message appears , Please use the method 2
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Method 2
cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg
After system update , Remove old tools
rm -rf /Library/Developer/CommandLineTools
Again using xcode-select --instal
边栏推荐
- xml建模
- JS to realize horizontal and vertical screen switching of monitoring mobile terminal
- Add, delete, modify and check~
- [C language function array] take away my last thoughts!
- 碎碎念 碎碎念 下 原稿
- Hot update in development mode to speed up the code update of development environment
- JS uses recursion to implement deep copy of objects
- 点击返回按钮,返回到之前的页面
- codeforces 1647A Madoka and Math Dad
- How to view your own edition of eigen
猜你喜欢
MySQL之函数
C language to achieve three chess games - pattern open version(
C语言实现三子棋小游戏---格局打开版(
xml建模
Add, delete, modify and check~
Stop pulling, stop pulling, read it in pieces
Crud of MySQL
[C language] 0.5 times the speed to explain the interesting C language playing methods of the century war
【http缓存】
Dynamically listen for the height of DOM elements
随机推荐
Relationship between prototype, prototype chain, constructor and instance
Add, delete, modify and check~
Difference between controlled and uncontrolled components
C语言实现三子棋小游戏---格局打开版(
Latex: derivative related symbols
重置表单
Realization of serpentine digital lattice Write a cube function with the input parameter of num. the requirements are as follows through JS: when num=3, the output table effect is: [[1,2,3] [6,5,4] [7
Recommander un éditeur de markdown facile à utiliser Mark Text
自定义MVC框架实现
How to share files over IP
oh-my-zsh 效率插件
Reset Form
移动端 pc端 小程序 UI框架选择
Format time
[C language] 0.5 times the speed to explain the interesting C language playing methods of the century war
Understand the three mountains of JS
Self taught programming for more than 80 years, these private practical tools & learning websites have accompanied me to the present. I must collect them and double my learning efficiency - Website
XML parsing
In depth analysis - structure
$. Usage of each