Wolf Walker
Wolf Walker

Reputation: 83

CLion C++ header files not found after macOS is updated to Catalina

I am using CLion for my C++ projects. After I updated my macOS to Catalina, my C++ files cannot find <iostream>, etc anymore. I have read similar issues online but I couldn't find where to add the build path or find the header file path. If anyone can help me with this problem, thank you in advance.

Upvotes: 4

Views: 6361

Answers (2)

Aaron Swan
Aaron Swan

Reputation: 1306

Ran into the same issue after a Fedora Linux OS upgrade.

Tools -> CMake -> "Reload CMake Project" resolved the issue for me.

Upvotes: 3

Arik Halperin
Arik Halperin

Reputation: 31

Open CMake tab at the bottom Click CMake Settings: CMake Setttings

Inside CMake Settings

Press "Manage Toolchains"

Wait until CLion populates all the fields and press OK

Upvotes: 3

Related Questions