[MacPorts] #70750: C++ headers are not found after updating to CLTs version 16.0
MacPorts
noreply at macports.org
Mon Sep 23 23:38:32 UTC 2024
#70750: C++ headers are not found after updating to CLTs version 16.0
-----------------------+----------------------------
Reporter: SaintBol | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sequoia sonoma
Port: |
-----------------------+----------------------------
Comment (by jmroot):
Replying to [comment:88 lcvisser]:
> The strange thing is (or at least, the part I don't understand): I can
build C++ applications just fine. The sample provided in comment:75
compiles without error, so does all my normal work (although I use CMake,
which may set some paths differently).
As your `clang --version` output shows, you are using Xcode, not the CLTs.
If you `export DEVELOPER_DIR=/Library/Developer/CommandLineTools` before
trying the example, you should reproduce the issue. This happens because
/usr/bin/clang is a shim that finds and runs the real compiler based on
your settings.
--
Ticket URL: <https://trac.macports.org/ticket/70750#comment:91>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list