doomhack / GBADoom

A port of prBoom to the Nintendo GBA.
214 stars 27 forks source link

Can't get Sigil to work #31

Open tevey opened 2 years ago

tevey commented 2 years ago

Hi, I'm trying to build a gba Sigil version using the build instructions in the repo. When using the Ultimate doom wad and the regular sigil wad, the build finished the rom works but the sigil episode is not in the menu. Then i tried using the Ultimeate doom wad but this time with the sigil_compat wad wich is supposed to replace episode 3 witch sigil but this won't even build it gives the following error:

linking cartridge

lto1.exe: out of memory allocating 536875007 bytes
lto-wrapper.exe: fatal error: C:\devkitPro\devkitARM\bin\arm-none-eabi-g++.exe returned 1 exit status
compilation terminated.
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make[1]: *** [C:/devkitPro/devkitARM/gba_rules:25: /opt/devkitpro/Projects/GBADoom/GBADoom.elf] Error 1
make: *** [Makefile:132: build] Error 2

Am i missing something or is Sigil just a no go on gba?

doomhack commented 2 years ago

Just tried it and I got the same output.

It will work if you remove -flto from CFLAGS in the makefile.

doomhack commented 2 years ago

You want to use the Sigil compat wad.

doomhack commented 2 years ago

You'll need plenty of RAM too. I saw lto1.exe use over 10gb of ram during compile.