Make fails on Mac M1 OS14.5 icon.h file not found
Opened this issue · 1 comments
This is the error
syswm.cpp:100:10: fatal error: 'icon.h' file not found
I followed the instructions for MacOS on the Readme.md step by step.
I brew installed everything except autotools (since it doesn't exist) and cloned the repo and did submodules init and did configure --enable-sdl.
when I got to the make step I got the error above.
icon.h not found
There is indeed no file called icon.h in my repo and I couldn't find one in previous tags in this repo but if its there please point it out and I will download it and use that and maybe it will work.
I noticed two other clues/problems:
- on the Readme.md it says to
brew install autotoolsbut that cask doesn't exist so I gotWarning: No available formula with the name "autotools" - There were also errors in config.log although I don't understand them and there were no visible errors when I ran
./configure --enable-sdl
config.log
System:
M1 Macbook Air 2020 (apple silicon) MacOS Sonoma 14.5
16GB Ram, 5.43GB available storage
What can I try or how can I help figure this out?
Thanks for your report. configure must be having an issue executing this line
(cd images && xxd -i sb-desktop-128x128.png > ../src/platform/sdl/icon.h)
Most likely you don't have xxd installed. Hope this helps.