'CLion header files <vector>, <iostream> not known to be header unit?
I just installed Clion and am trying to write a short program in C++. However, when I try to import <iostream> or import <vector> I get
Header file <iostream> (aka '/Library/Developer/CommandLineTools/usr/include/c++/v1/iostream') cannot be imported because it is not known to be a header unit
The project is in C++ 20, in my CMakeLists.txt I did set(CMAKE_CXX_STANDARD 20)
I tried following the instructions here CLion C++ header files not found after macOS is updated to Catalina but it didn't resolve my issue
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
