Skip to content

Make fails on Mac M1 OS14.5 icon.h file not found #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JudgeGroovyman opened this issue Oct 31, 2024 · 1 comment
Open

Make fails on Mac M1 OS14.5 icon.h file not found #233

JudgeGroovyman opened this issue Oct 31, 2024 · 1 comment

Comments

@JudgeGroovyman
Copy link

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:

  1. on the Readme.md it says to brew install autotools but that cask doesn't exist so I got Warning: No available formula with the name "autotools"
  2. 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?

@chrisws
Copy link
Contributor

chrisws commented Nov 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants