robertkirkman / sm64ex-coop

SM64 online co-op mod for Android and other open-source UNIX-like platforms
50 stars 17 forks source link

Segmentation fault while building on android #15

Open Roy-Meijer opened 4 months ago

Roy-Meijer commented 4 months ago

I am getting a segmentation fault while building the project:

Converting: actors/blue_coin_switch/blue_coin_switch_side.rgba16.png -> build/us_pc/actors/blue_coin_switch/blue_coin_switch_side.rgba16.inc.c
make: *** [Makefile:1555: build/us_pc/actors/blue_coin_switch/blue_coin_switch_side.rgba16.inc.c] Segmentation fault
make: *** Deleting file 'build/us_pc/actors/blue_coin_switch/blue_coin_switch_side.rgba16.inc.c'
make: *** Waiting for unfinished jobs....

I followed this guide: https://github.com/robertkirkman/sm64ex-coop/blob/android/README_android.md

Did I miss anything?

robertkirkman commented 4 months ago

Hello, if you did not already, please try using the sm64ex-coop builder Termux, and if the same problem also happens when you use that, please use the command termux-info and send the result here.

That type of error does not usually happen, and suggests you might have an unusual configuration in Termux that could be reset to my recommended settings by uninstalling Termux and installing sm64ex-coop builder Termux.

If you have Android 14, use the apt-mark hold bash && yes | pkg upgrade -y command in sm64ex-coop builder Termux before you allow it to automatically run.

robertkirkman commented 4 months ago

If you need to keep your current Termux installation and you are confident with reading and using Bash, you could also try the standalone build script download link:

https://raw.githubusercontent.com/robertkirkman/termux-packages/master/packages/bash/bin-build-sm64ex-coop.sh

However I recommend those who are encountering problems to use the entire sm64ex-coop builder Termux app if they aren't sure what to do.