[MacPorts] #70750: C++ headers are not found after updating to CLTs version 16.0
MacPorts
noreply at macports.org
Mon Sep 23 10:13:13 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 dagui0):
Finally I succeded to build c++ ports.
1. Uninstall Xcode
It was upgraded from 15 to 16. There was Developer folder under
/Applications/XCode.app/. It seems to make confused to macports. So I
decided to uninstall and clean install.
2. Uninstall Command Line Tools
'xcode-select --install' still installs 15.x command line tools. So I had
to remove it.
sudo rm -rf /Library/Developer/CommandLineTools
3. Re install Command Line Tools
Download for Coomand Line Tools for Xcode 16 and Install it.
https://developer.apple.com/download/all/?q=for%20Xcode
4. Build ports
Even I do not install Xcode, building port is possible.
sudo port install cmake
--
Ticket URL: <https://trac.macports.org/ticket/70750#comment:85>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list