Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2018-04-05 20:29:12

LusoTrainer
Member
Registered: 2015-05-06
Post 9/31

[pokecrystal] Build error

Whenever I try to build the rom, I get the following error:

$ make crystal11
make: gcc: Command not found
make: *** [Makefile:23: lzcomp] Error 127
make: Entering directory '/home/Username/pokecrystal/tools' gcc -O3 -std=c99 -Wall -Wextra -o lzcomp lzcomp.c make: Leaving directory '/home/Username/pokecrystal/tools'
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
make: tools/scan_includes: Command not found
rgbasm -D _CRYSTAL -D _CRYSTAL11 -o main11.o main.asm
error: Unable to open incbin file 'gfx/sgb/sgb_border.2bpp'
make: *** [Makefile:73: main11.o] Error 1

Is anyone able to pinpoint the problem or what's causing it? Spent a few hours fixing the bugs listed here, no further changes were made to the files.

Thanks in advance.

Offline

#2 2018-04-05 22:45:58

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,085/1,119

Offline

#3 2018-04-06 13:27:02

LusoTrainer
Member
Registered: 2015-05-06
Post 10/31

Re: [pokecrystal] Build error

Thanks! I could have sworn I had selected it.

Anyway, reinstalled it, tried to build the ROM again, and at the very end I get this error:

rgbasm -D _CRYSTAL -D _CRYSTAL11 -o gfx/sprites11.o gfx/sprites.asm
rgbasm -D _CRYSTAL -D _CRYSTAL11 -o lib/mobile/main11.o lib/mobile/main.asm
rgblink -n pokecrystal11.sym -m pokecrystal11.map -l pokecrystal.link -o pokecrystal11.gbc audio11.o home11.o main11.o wram11.o data/text/common11.o data/maps/map_data11.o data/pokemon/dex_entries11.o data/pokemon/egg_moves11.o data/pokemon/evos_attacks11.o engine/movie/credits11.o engine/overworld/events11.o gfx/pics11.o gfx/sprites11.o lib/mobile/main11.o
error: Unknown symbol 'CurPartySpecies'
make: *** [Makefile:85: pokecrystal11.gbc] Error 1

Offline

#4 2018-04-10 04:17:45

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,086/1,119

Re: [pokecrystal] Build error

You probably got the label 'CurPartySpecies' from bugs_and_glitches.md
That sample code is a bit out of date.
You want to replace 'CurPartySpecies' with 'wCurPartySpecies'

Offline

#5 2018-04-10 19:33:46

LusoTrainer
Member
Registered: 2015-05-06
Post 11/31

Re: [pokecrystal] Build error

Danny-E 33 wrote:

You probably got the label 'CurPartySpecies' from bugs_and_glitches.md
That sample code is a bit out of date.
You want to replace 'CurPartySpecies' with 'wCurPartySpecies'

That was it! Thanks again.

Offline

Board footer

Powered by FluxBB