madpuppet/Mad64

macOS builds

Closed this issue · 8 comments

Hey - what a fantastic project :-)

I am on an M1 ARM Mac. I am happy to help if you want to build this also for macOS (at least for ARM).
In one of the Facebook groups, you said you have someone who already did that...?

Should we add instructions here?

Thanks,
Christian

Cool. Let's try this together.
On which Discord are you?

I installed the XCode command line tools, cmake, and SDL2.

And already run into an error 🤪:

➜  Mad64 git:(main) cmake --build build --config release
[  4%] Linking CXX executable Mad64
ld: library not found for -lSDL2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Mad64] Error 1
make[1]: *** [CMakeFiles/Mad64.dir/all] Error 2
make: *** [all] Error 2

OK, one step further: I can compile it now.
But when starting, I get a segmentation fault.

heh. I didn't know github automatically put all these emails on the issues database.

can you post your "log.txt" file... might be some clue there. I might need to add more logging to see where its crashing.

hey, I have another user that has done a fix for the segmentation fault issue. He should be submitting a pull request on the weekend.

can you post your "log.txt" file... might be some clue there. I might need to add more logging to see where its crashing.

I don't think this helps 😉:

Load Settings file: /Users/christianweyer/Library/Application Support/madpuppet/mad64/settings.ini
Create Font: font.ttf