Note: This is NOT a duplicate of CLion C++ header files not found after macOS is updated to Catalina
CLion is reporting all header files to be missing in my lone C++ project
#include <cstdio>
⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃
'cstdio' file not found
It was working all right until last week and the problem started appearing after I upgraded from v2024.1.5 to v2024.2.2 via JetBrains ToolBox.
The same thing happened when I installed an XCode update on my Mac. (and the same resolution given below worked)
What have I tried?
Build
> Rebuild Project
Tools
> CMake
> Reload CMake Project
as suggested here
CLion
> Settings
> Build, Execution, Deployment
> CMake
> Manage toolchains...
> OK
as suggested here
How can I go about fixing it?
I'm on
Build #CL-242.22855.75
The good old 'reset cache' thing fixed it for me!
Tools
> CMake
> Reset Cache and Reload Project