[MacPorts] #66352: clang-15: unable to locate default SDK
MacPorts
noreply at macports.org
Sat Dec 3 13:09:33 UTC 2022
#66352: clang-15: unable to locate default SDK
-------------------------+-----------------------------
Reporter: judaew | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: worksforme | Keywords: ventura, x86_64
Port: clang-15 |
-------------------------+-----------------------------
Comment (by kencu):
Replying to [comment:15 judaew]:
> Thank you for taking the time for me. After rebuilding this port with
Xcode installed, the issue disappeared. Currently, Clang finds SDKs both
with and without Xcode.
I am not sure that building with Xcode installed was the fix.
Perhaps just rebuilding was the fix.
>
> P.S. If anyone gets this issue, then the best workaround without Xcode
is the SDKROOT variable. It should help Clang find a path to the SDK.
This is a short-term fix that will not work out well in the long run I
believe.
--
Ticket URL: <https://trac.macports.org/ticket/66352#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list