I think it's because I recently(and accidentally) 'rm -rf /'ed my mac, and reinstalled macos from scratch.
Hey, I followed this and was getting errors building on my M1 mac. Solved almost all of it.
If the compiler complains about SDL2/SDL.h not existing:
ln -s /opt/homebrew/include/SDL2 /opt/homebrew/include/SDL2/SDL2
Don't know why that happens, but whatever.
Now, it seems to compile and link just fine, but when I execute it, I get this:
[1] 82250 killed ./powder
and with dtruss:
dtrace: failed to execute ./powder: Malformed Mach-o file
Any ideas why this is happening or how I can fix this? Thanks.