I'm working with a fork of GitHub's pokecrystal
. In fact, it's my second fork
, as I screwed the first one
up so badly.
Trying to build the new one with Cygwin and getting the following error:
make: *** No rule to make target 'gfx/pokemon/dewgong/a', needed by 'main.o'. Stop.
This is frustrating for a number of reasons:
- Most error messages give you a specific line of a specific file to find the source of the problem. No such luck here.
- I haven't tried doing anything with Dewgong's graphics in particular, so there's no reason why they should be acting up.
- There shouldn't be, and isn't, a file just called "a" in Dewgong's graphics folder, or any Pokemon's graphics folder. Each of them should have an "anim.asm" and an "anim_idle.asm", but not just "a".
With that said, "no rule to make" usually indicates a missing file. So the obvious thought is that, somewhere, what should be a request for gfx/pokemon/dewgong/anim.asm or gfx/pokemon/dewgong/anim_idle.asm somehow got accidentally backspaced to just read gfx/pokemon/dewgong/a, hence the error message of not being able to find the file. Well, let's look around.https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/pic_pointers.asm
SECTION "Pics 3", ROMXhttps://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/anim_pointers.asm
SkarmoryFrontpic: INCBIN "gfx/pokemon/skarmory/front.animated.2bpp.lz"
DewgongFrontpic: INCBIN "gfx/pokemon/dewgong/front.animated.2bpp.lz"
VictreebelFrontpic: INCBIN "gfx/pokemon/victreebel/front.animated.2bpp.lz"
SECTION "Pics 18", ROMX
ShuckleBackpic: INCBIN "gfx/pokemon/shuckle/back.2bpp.lz"
DewgongBackpic: INCBIN "gfx/pokemon/dewgong/back.2bpp.lz"
UnownBFrontpic: INCBIN "gfx/pokemon/unown_b/front.animated.2bpp.lz"
SeelAnimation: INCLUDE "gfx/pokemon/seel/anim.asm"
DewgongAnimation: INCLUDE "gfx/pokemon/dewgong/anim.asm"
GrimerAnimation: INCLUDE "gfx/pokemon/grimer/anim.asm"
SeelAnimationIdle: INCLUDE "gfx/pokemon/seel/anim_idle.asm"
DewgongAnimationIdle: INCLUDE "gfx/pokemon/dewgong/anim_idle.asm"
GrimerAnimationIdle: INCLUDE "gfx/pokemon/grimer/anim_idle.asm"
SeelFrames: INCLUDE "gfx/pokemon/seel/frames.asm"
DewgongFrames: INCLUDE "gfx/pokemon/dewgong/frames.asm"
GrimerFrames: INCLUDE "gfx/pokemon/grimer/frames.asm"
SeelBitmasks: INCLUDE "gfx/pokemon/seel/bitmask.asm"
DewgongBitmasks: INCLUDE "gfx/pokemon/dewgong/bitmask.asm"
GrimerBitmasks: INCLUDE "gfx/pokemon/grimer/bitmask.asm"
INCBIN "gfx/pokemon/seel/front.gbcpal", middle_colors
INCBIN "gfx/pokemon/dewgong/front.gbcpal", middle_colors
INCBIN "gfx/pokemon/grimer/front.gbcpal", middle_colors
Yeah, I'm just flailing at this point. All this stuff seems to be in order. If you're about to say "but there's no frames.asm or bitmask.asm in gfx/pokemon/dewgong", well, I don't really understand how the build works, but I think those get generated during it, because the setup is the same for every other Pokemon. So that can't be it.
The real crux here is that the "main.o" style of error message doesn't give me a starting point. Do I just have to go through every single file and Ctrl+F for "gfx/pokemon/dewgong/a"? Is this somehow a memory bank issue and gfx/pokemon/dewgong/anim.asm got cut off right at the "a"? I'd really appreciate some help here.