3 ms·
> A possible fix would be to install the commandline developer tools, except those were already installed and the installer refuses to run again to repair it.
by saagarjha 8y ago
> A possible fix would be to install the commandline developer tools, except those were already installed and the installer refuses to run again to repair it.
Apple’s command line tools ships with a package containing these headers, which you can find at /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg. Note that this package is only a temporary workaround (to fix issues like yours) and you should migrate to using your toolchain’s include path.
- phaedrus 8y agoRight I eventually found that out (and temporarily fixed it by making a symlink manually). My question about fixing it right is (1) How? and (2) How am I expected to know this? Because: I'm using an out-of-the-box CLion with it's out-of-the-box CMake, and I thought this is exactly the sort of SNAFU that CMake is supposed to handle? Does the fault lie with JetBrains, Kitware, Apple?