Macos Clion 找不到头文件
Macos从15升级16后,Clion打开报错
Cannot find file 'iostream' in search paths: / Library/ Developer/ CommandLineTools/ usr/ include/ c++/ v1 / Library/ Developer/ CommandLineTools/ usr/ lib/ clang/ 16/ include / Library/ Developer/ CommandLineTools/ SDKs/ MacOSX15.1.sdk/ usr/ include / Library/ Developer/ CommandLineTools/ usr/ include
解决方法
重装CommandLineTools
卸载
sudo rm -rf /Library/Developer/CommandLineTools
安装
xcode-select --install

浙公网安备 33010602011771号