Skeli789 / Dynamic-Pokemon-Expansion

A tool to ease the process of expanding the number of Pokemon in Fire Red. It is meant to be used alongside the Complete FireRed Upgrade.
Other
248 stars 194 forks source link

undefined reference #33

Closed CrimsonCrow closed 3 years ago

CrimsonCrow commented 3 years ago

same with CRFU on linux python3.7 scripts/make.py

Processing Icon Sprites.
There was an error compiling the engine: [Errno 2] No such file or directory: 'grit': 'grit'
CrimsonCrow commented 3 years ago

having an undefined reference to python3.7 scripts/make.py

arm-none-eabi-ld: ./build/31dc2fd4d694d9fec42742fa4dd8e895.o:(.rodata+0x0): undefined reference to `gBackShinySprite000NoneTiles'
arm-none-eabi-ld: ./build/31dc2fd4d694d9fec42742fa4dd8e895.o:(.rodata+0x8): undefined reference to `gBackShinySprite001BulbasaurTiles'
arm-none-eabi-ld: ./build/31dc2fd4d694d9fec42742fa4dd8e895.o:(.rodata+0x10): undefined reference to `gBackShinySprite002IvysaurTiles'
arm-none-eabi-ld: ./build/31dc2fd4d694d9fec42742fa4dd8e895.o:(.rodata+0x18): undefined reference to `gBackShinySprite003VenusaurTiles'
arm-none-eabi-ld: ./build/31dc2fd4d694d9fec42742fa4dd8e895.o:(.rodata+0x20): undefined reference to `gBackShinySprite004CharmanderTiles'

...

arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2210): undefined reference to `gBackShinySprite1090PikachuRockStarPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2218): undefined reference to `gBackShinySprite1091PikachuBellePal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2220): undefined reference to `gBackShinySprite1092PikachuPhdPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2228): undefined reference to `gBackShinySprite1093PikachuCapOriginalPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2230): undefined reference to `gBackShinySprite1094PikachuCapHoennPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2238): undefined reference to `gBackShinySprite1095PikachuCapSinnohPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2240): undefined reference to `gBackShinySprite1096PikachuCapUnovaPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2248): undefined reference to `gBackShinySprite1097PikachuCapKalosPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2250): undefined reference to `gBackShinySprite1098PikachuCapAlolaPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2258): undefined reference to `gBackShinySprite1099PikachuCapPartnerPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2260): undefined reference to `gBackShinySprite1100PichuSpikyPal'
arm-none-eabi-ld: ./build/3141338e4fbf70944bebb63ea59f6296.o:(.rodata+0x2268): undefined reference to `gBackShinySprite1101XerneasNaturalPal'
PegasystemsInc commented 3 years ago

Okay, did a bit more testing. I deleted the contents of my build folder, and the assembly/generated folder. That seemed to fix a similar issue.

CrimsonCrow commented 3 years ago

@Rudderbutt thanks it now compiles. Please do tell how you know that and why does that happens?

PegasystemsInc commented 3 years ago

@CrimsonCrow If the compilation process is interrupted while sprites are processing (in my case I closed the terminal accidentally), the file is improperly generated and needs to be regenerated by first deleting the file. I think clean.py has arguments for cleaning everything but I didn't check.

CrimsonCrow commented 3 years ago

@Rudderbutt Ohhh, I see. Thank you. I tried running python3.7 scripts/clean.py then python3.7 scripts/make.py still gives me undefined errors. You need to manually delete those folder (like you stated) to fix the issue. Anyhow, that seems that is issue is closed. Once again, thanks.