Closed Binarytales closed 8 months ago
bin2c.c is POSIX-compatible c. If that doesn't build on Sonoma then there's not a lot we can do about it.
@pelwell Thanks for your messages. That set me off on a new tangent that lead to me doing the following:
export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
Which fixed the error in my initial bug report. But then I was getting a ld: library 'System' not found
. A bit more reading and I did:
export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
I got 193 warnings about pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
but these were all from the MacOSX.sdk path so not an issue with usbboot
.
Describe the bug
Following the steps for building on macOS I get the following error when running
make
:Steps to reproduce the behaviour
Follow macOS build steps exactly: https://github.com/raspberrypi/usbboot?tab=readme-ov-file#macos
I also ran the optional command to set PKG config path:
export PKG_CONFIG_PATH="$(brew --prefix libusb)/lib/pkgconfig"
which set the path to/usr/local/opt/libusb/lib/pkgconfig
To fix a previous
make
error:I had to not only update XCode via the AppStore (to version
15.0 (15A240d)
) but also open and run XCode to let it install additional packages and libraries. Having only XCode Command Line Tools installed was not enough.I also had to run
sudo xcodebuild -license accept
to accept the updated terms and conditions.-- I am running:
...on a...
Output of
brew config
Output of
brew leaves | xargs brew info
An
ls
of/usr/local/include
gives the following:Device(s)
Other
Compute Module IO board.
No response
RPIBOOT logs
No response
Kernel logs
No response
Device UART logs
No response