macOS 上 IDE 版本升级后找不到 CLion 标准 C++ 头文件

问题描述 投票:0回答:1

注意这不是 macOS 更新到 Catalina 后未找到的 CLion C++ 头文件的重复


CLion 报告

我单独的 C++ 项目中缺少所有头文件

#include <cstdio> ⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃ 'cstdio' file not found
一直工作正常,直到上周,在我通过 

JetBrains ToolBoxv2024.1.5 升级到 v2024.2.2 后,问题开始出现。


我尝试了什么?

  1. Build

     > 
    Rebuild Project
    
    

  2. Tools

     > 
    CMake
     > 
    Reload CMake Project
     按照建议
    这里

  3. CLion

     > 
    Settings
     > 
    Build, Execution, Deployment
     > 
    CMake
     > 
    Manage toolchains...
     > 
    OK
     如建议
    这里

我该如何修复它?


我在

    CLion 2024.2.2
  • Build #CL-242.22855.75
    
    
  • macOS Sonoma 14.6.1,芯片 Apple M1 Pro,内存 32 GB
clion
1个回答
0
投票
旧的“

重置缓存”东西为我解决了这个问题!

Tools

 > 
CMake
 > 
Reset Cache and Reload Project

    

© www.soinside.com 2019 - 2024. All rights reserved.