This problem happens when you install "gcc-12" package.
If you install "g++-12" package instead, there is no problem.
"gcc-12" package does not install C++ standard library, while "g++-12" package does install it.
This problem happens when you install "gcc-12" package.
If you install "g++-12" package instead, there is no problem.
"gcc-12" package does not install C++ standard library, while "g++-12" package does install it.