is /usr/include a link ?
is /usr/include a link ?
is /usr/include a link ?
in OS Monterey
I'm making the #include <> tree in SDK available to another compiler, intel icc
I have found a solution in https://apple.stackexchange.com/questions/337940/why-is-usr-include-missing-i-have-xcode-and-command-line-tools-installed-moja:
which is identify the SDK include tree and supply it to each icc compile with option -isysroot
% xcrun --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk
% icc -isysroot icc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk -o binary source.c
Could you provide some context? Where are you seeing this? In what application? On what device?
Glad you have it figured out.
ls -ld /usr /usr/include
drwxr-xr-x. 17 root root 255 Sep 21 2021 /usr/
drwxr-xr-x. 98 root root 12288 Dec 11 03:50 /usr/include/
The 'd' in column 1 says it is a directory, NOT a Symbolic Link
is /usr/include a link ?