MorsGames / sm64plus

A fork of sm64-port that focuses on QoL improvements and customizability.
https://mfgg.net/index.php?act=resdb&param=02&c=2&id=38190
453 stars 32 forks source link

"aborted (core dumped)" error when compiling for linux #97

Closed TripleLLL9 closed 4 months ago

TripleLLL9 commented 5 months ago

when attempting to compile the game using "make j$(nproc)" on ubuntu 24.04 (noble numbat), i get this error:

Splitting: levels/ending/cake.png -> build/us_pc/levels/ending/cake.inc.c *** buffer overflow detected ***: terminated

and this other error followed after:

Compiling: levels/sa/leveldata.c -> build/us_pc/levels/sa/leveldata.o Aborted (core dumped) make: *** [Makefile.split:180: build/us_pc/levels/ending/cake.inc.c] Error 134 make: *** Waiting for unfinished jobs....

although, when i run the same command again, it continues, but soon runs into another error:

Compiling: build/us_pc/assets/demo_data.c -> build/us_pc/assets/demo_data.o Splitting: textures/skyboxes/bbh.png -> build/us_pc/bin/bbh_skybox.c *** buffer overflow detected ***: terminated Aborted (core dumped) make: *** [Makefile.split:248: build/us_pc/bin/bbh_skybox.c] Error 134

and from that point on, unless i apply the -i option to the make command, the game will refuse to compile. when i apply the -i option, the game will compile, but important textures like most of the hud and skyboxes are missing, and appear as pink and black checkered boxes.

pls help me, idk what's going on ;-;

system specs (grabbed from the neofetch command): OS: Ubuntu Noble Numbat (development branch) x86_64 Host: Inspiron 7348 A08 Kernel: 6.8.0-11-generic Uptime: 54 mins Packages: 2227 (dpkg), 33 (snap) Shell: bash 5.2.21 Resolution: 1366x768 DE: GNOME 46.0 WM: Mutter WM Theme: Adwaita Theme: Yaru-blue-dark [GTK2/3] Icons: Yaru-blue [GTK2/3] Terminal: gnome-terminal CPU: Intel i5-5200U (4) @ 2.700GHz GPU: Intel HD Graphics 5500 Memory: 1860MiB / 3831MiB

TripleLLL9 commented 4 months ago

so, i recently switched to using arch linux, and for SOME REASON, it works??????????????????