Reputation: 83
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
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
Reputation: 31
Open CMake tab at the bottom Click CMake Settings: CMake Setttings
Press "Manage Toolchains"
Wait until CLion populates all the fields and press OK
Upvotes: 3