cRz-Shadows / Pokemon_Crystal_Legacy

This is a Pokémon Rom Hack made by TheSmithPlays with the intended purpose of fixing Pokémon Crystal into a more polished experience while staying true to the vision of Generation 2.
78 stars 27 forks source link

Compile error: main.o is a revision 0x0008 object file; only 0x0009 is supported #2

Closed tylerqr closed 1 year ago

tylerqr commented 1 year ago

Hello, running M1 Mac here. I've tried compiling with rgbds versions 0.5.2, 0.4.1 (because I read somewhere that helped with pokered so it was worth a shot) and latest 0.6.1, no dice. Running on M1 mac. TIA! Here's the full snippet: `ools/lzcomp --compressor multipass -- gfx/trainers/archer.2bpp gfx/trainers/archer.2bpp.lz rgbgfx -h -o gfx/trainers/pkmntrainerf.2bpp gfx/trainers/pkmntrainerf.png tools/lzcomp --compressor multipass -- gfx/trainers/pkmntrainerf.2bpp gfx/trainers/pkmntrainerf.2bpp.lz rgbasm -L -Weverything -Wnumeric-string=2 -Wtruncation=1 -o gfx/pics.o gfx/pics.asm rgbgfx -o gfx/sprites/chris.2bpp gfx/sprites/chris.png rgbgfx -o gfx/sprites/chris_bike.2bpp gfx/sprites/chris_bike.png rgbgfx -o gfx/sprites/gameboy_kid.2bpp gfx/sprites/gameboy_kid.png rgbgfx -o gfx/sprites/silver.2bpp gfx/sprites/silver.png rgbgfx -o gfx/sprites/oak.2bpp gfx/sprites/oak.png rgbgfx -o gfx/sprites/red.2bpp gfx/sprites/red.png rgbgfx -o gfx/sprites/blue.2bpp gfx/sprites/blue.png rgbgfx -o gfx/sprites/bill.2bpp gfx/sprites/bill.png rgbgfx -o gfx/sprites/elder.2bpp gfx/sprites/elder.png rgbgfx -o gfx/sprites/janine.2bpp gfx/sprites/janine.png rgbgfx -o gfx/sprites/kurt.2bpp gfx/sprites/kurt.png rgbgfx -o gfx/sprites/mom.2bpp gfx/sprites/mom.png rgbgfx -o gfx/sprites/blaine.2bpp gfx/sprites/blaine.png rgbgfx -o gfx/sprites/reds_mom.2bpp gfx/sprites/reds_mom.png rgbgfx -o gfx/sprites/daisy.2bpp gfx/sprites/daisy.png rgbgfx -o gfx/sprites/elm.2bpp gfx/sprites/elm.png rgbgfx -o gfx/sprites/will.2bpp gfx/sprites/will.png rgbgfx -o gfx/sprites/falkner.2bpp gfx/sprites/falkner.png rgbgfx -o gfx/sprites/whitney.2bpp gfx/sprites/whitney.png rgbgfx -o gfx/sprites/bugsy.2bpp gfx/sprites/bugsy.png rgbgfx -o gfx/sprites/morty.2bpp gfx/sprites/morty.png rgbgfx -o gfx/sprites/chuck.2bpp gfx/sprites/chuck.png rgbgfx -o gfx/sprites/jasmine.2bpp gfx/sprites/jasmine.png rgbgfx -o gfx/sprites/pryce.2bpp gfx/sprites/pryce.png rgbgfx -o gfx/sprites/clair.2bpp gfx/sprites/clair.png rgbgfx -o gfx/sprites/brock.2bpp gfx/sprites/brock.png rgbgfx -o gfx/sprites/karen.2bpp gfx/sprites/karen.png rgbgfx -o gfx/sprites/bruno.2bpp gfx/sprites/bruno.png rgbgfx -o gfx/sprites/misty.2bpp gfx/sprites/misty.png rgbgfx -o gfx/sprites/lance.2bpp gfx/sprites/lance.png rgbgfx -o gfx/sprites/surge.2bpp gfx/sprites/surge.png rgbgfx -o gfx/sprites/erika.2bpp gfx/sprites/erika.png rgbgfx -o gfx/sprites/koga.2bpp gfx/sprites/koga.png rgbgfx -o gfx/sprites/sabrina.2bpp gfx/sprites/sabrina.png rgbgfx -o gfx/sprites/cooltrainer_m.2bpp gfx/sprites/cooltrainer_m.png rgbgfx -o gfx/sprites/cooltrainer_f.2bpp gfx/sprites/cooltrainer_f.png rgbgfx -o gfx/sprites/bug_catcher.2bpp gfx/sprites/bug_catcher.png rgbgfx -o gfx/sprites/twin.2bpp gfx/sprites/twin.png rgbgfx -o gfx/sprites/youngster.2bpp gfx/sprites/youngster.png rgbgfx -o gfx/sprites/lass.2bpp gfx/sprites/lass.png rgbgfx -o gfx/sprites/teacher.2bpp gfx/sprites/teacher.png rgbgfx -o gfx/sprites/beauty.2bpp gfx/sprites/beauty.png rgbgfx -o gfx/sprites/super_nerd.2bpp gfx/sprites/super_nerd.png rgbgfx -o gfx/sprites/rocker.2bpp gfx/sprites/rocker.png rgbgfx -o gfx/sprites/pokefan_m.2bpp gfx/sprites/pokefan_m.png rgbgfx -o gfx/sprites/pokefan_f.2bpp gfx/sprites/pokefan_f.png rgbgfx -o gfx/sprites/gramps.2bpp gfx/sprites/gramps.png rgbgfx -o gfx/sprites/granny.2bpp gfx/sprites/granny.png rgbgfx -o gfx/sprites/swimmer_guy.2bpp gfx/sprites/swimmer_guy.png rgbgfx -o gfx/sprites/swimmer_girl.2bpp gfx/sprites/swimmer_girl.png rgbgfx -o gfx/sprites/big_snorlax.2bpp gfx/sprites/big_snorlax.png rgbgfx -o gfx/sprites/surfing_pikachu.2bpp gfx/sprites/surfing_pikachu.png rgbgfx -o gfx/sprites/rocket.2bpp gfx/sprites/rocket.png rgbgfx -o gfx/sprites/rocket_girl.2bpp gfx/sprites/rocket_girl.png rgbgfx -o gfx/sprites/nurse.2bpp gfx/sprites/nurse.png rgbgfx -o gfx/sprites/link_receptionist.2bpp gfx/sprites/link_receptionist.png rgbgfx -o gfx/sprites/clerk.2bpp gfx/sprites/clerk.png rgbgfx -o gfx/sprites/fisher.2bpp gfx/sprites/fisher.png rgbgfx -o gfx/sprites/fishing_guru.2bpp gfx/sprites/fishing_guru.png rgbgfx -o gfx/sprites/scientist.2bpp gfx/sprites/scientist.png rgbgfx -o gfx/sprites/kimono_girl.2bpp gfx/sprites/kimono_girl.png rgbgfx -o gfx/sprites/sage.2bpp gfx/sprites/sage.png rgbgfx -o gfx/sprites/unused_guy.2bpp gfx/sprites/unused_guy.png rgbgfx -o gfx/sprites/gentleman.2bpp gfx/sprites/gentleman.png rgbgfx -o gfx/sprites/black_belt.2bpp gfx/sprites/black_belt.png rgbgfx -o gfx/sprites/receptionist.2bpp gfx/sprites/receptionist.png rgbgfx -o gfx/sprites/officer.2bpp gfx/sprites/officer.png rgbgfx -o gfx/sprites/cal.2bpp gfx/sprites/cal.png rgbgfx -o gfx/sprites/slowpoke.2bpp gfx/sprites/slowpoke.png rgbgfx -o gfx/sprites/captain.2bpp gfx/sprites/captain.png rgbgfx -o gfx/sprites/big_lapras.2bpp gfx/sprites/big_lapras.png rgbgfx -o gfx/sprites/gym_guide.2bpp gfx/sprites/gym_guide.png rgbgfx -o gfx/sprites/sailor.2bpp gfx/sprites/sailor.png rgbgfx -o gfx/sprites/biker.2bpp gfx/sprites/biker.png rgbgfx -o gfx/sprites/pharmacist.2bpp gfx/sprites/pharmacist.png rgbgfx -o gfx/sprites/monster.2bpp gfx/sprites/monster.png rgbgfx -o gfx/sprites/fairy.2bpp gfx/sprites/fairy.png rgbgfx -o gfx/sprites/bird.2bpp gfx/sprites/bird.png rgbgfx -o gfx/sprites/dragon.2bpp gfx/sprites/dragon.png rgbgfx -o gfx/sprites/big_onix.2bpp gfx/sprites/big_onix.png tools/gfx --remove-whitespace --remove-xflip -o gfx/sprites/big_onix.2bpp gfx/sprites/big_onix.2bpp rgbgfx -o gfx/sprites/n64.2bpp gfx/sprites/n64.png rgbgfx -o gfx/sprites/sudowoodo.2bpp gfx/sprites/sudowoodo.png rgbgfx -o gfx/sprites/surf.2bpp gfx/sprites/surf.png rgbgfx -o gfx/sprites/poke_ball.2bpp gfx/sprites/poke_ball.png rgbgfx -o gfx/sprites/pokedex.2bpp gfx/sprites/pokedex.png rgbgfx -o gfx/sprites/paper.2bpp gfx/sprites/paper.png rgbgfx -o gfx/sprites/virtual_boy.2bpp gfx/sprites/virtual_boy.png rgbgfx -o gfx/sprites/old_link_receptionist.2bpp gfx/sprites/old_link_receptionist.png rgbgfx -o gfx/sprites/rock.2bpp gfx/sprites/rock.png rgbgfx -o gfx/sprites/boulder.2bpp gfx/sprites/boulder.png rgbgfx -o gfx/sprites/snes.2bpp gfx/sprites/snes.png rgbgfx -o gfx/sprites/famicom.2bpp gfx/sprites/famicom.png rgbgfx -o gfx/sprites/fruit_tree.2bpp gfx/sprites/fruit_tree.png rgbgfx -o gfx/sprites/gold_trophy.2bpp gfx/sprites/gold_trophy.png rgbgfx -o gfx/sprites/silver_trophy.2bpp gfx/sprites/silver_trophy.png rgbgfx -o gfx/sprites/kris.2bpp gfx/sprites/kris.png rgbgfx -o gfx/sprites/kris_bike.2bpp gfx/sprites/kris_bike.png rgbgfx -o gfx/sprites/suicune.2bpp gfx/sprites/suicune.png rgbgfx -o gfx/sprites/entei.2bpp gfx/sprites/entei.png rgbgfx -o gfx/sprites/raikou.2bpp gfx/sprites/raikou.png rgbgfx -o gfx/sprites/giovanni.2bpp gfx/sprites/giovanni.png rgbgfx -o gfx/sprites/giovanni_disguise.2bpp gfx/sprites/giovanni_disguise.png rgbgfx -o gfx/sprites/archer.2bpp gfx/sprites/archer.png rgbgfx -o gfx/sprites/moltres.2bpp gfx/sprites/moltres.png rgbgfx -o gfx/sprites/articuno.2bpp gfx/sprites/articuno.png rgbgfx -o gfx/sprites/zapdos.2bpp gfx/sprites/zapdos.png rgbasm -L -Weverything -Wnumeric-string=2 -Wtruncation=1 -o gfx/sprites.o gfx/sprites.asm rgbgfx -o gfx/tilesets/kanto.2bpp gfx/tilesets/kanto.png tools/lzcomp --compressor null --method 1 --align 1 -- gfx/tilesets/kanto.2bpp gfx/tilesets/kanto.2bpp.lz rgbgfx -o gfx/tilesets/johto.2bpp gfx/tilesets/johto.png tools/lzcomp --compressor null --method 1 --align 1 -- gfx/tilesets/johto.2bpp gfx/tilesets/johto.2bpp.lz rgbgfx -o gfx/tilesets/ice_path.2bpp gfx/tilesets/ice_path.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/ice_path.2bpp gfx/tilesets/ice_path.2bpp.lz rgbgfx -o gfx/tilesets/players_room.2bpp gfx/tilesets/players_room.png tools/lzcomp --compressor multipass --align 4 --method 4 --align 4 -- gfx/tilesets/players_room.2bpp gfx/tilesets/players_room.2bpp.lz rgbgfx -o gfx/tilesets/pokecenter.2bpp gfx/tilesets/pokecenter.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/pokecenter.2bpp gfx/tilesets/pokecenter.2bpp.lz rgbgfx -o gfx/tilesets/port.2bpp gfx/tilesets/port.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/port.2bpp gfx/tilesets/port.2bpp.lz rgbgfx -o gfx/tilesets/players_house.2bpp gfx/tilesets/players_house.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/players_house.2bpp gfx/tilesets/players_house.2bpp.lz rgbgfx -o gfx/tilesets/mansion.2bpp gfx/tilesets/mansion.png tools/lzcomp --compressor multipass --align 4 --method 2 --align 4 -- gfx/tilesets/mansion.2bpp gfx/tilesets/mansion.2bpp.lz rgbgfx -o gfx/tilesets/cave.2bpp gfx/tilesets/cave.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/cave.2bpp gfx/tilesets/cave.2bpp.lz rgbgfx -o gfx/tilesets/tower.2bpp gfx/tilesets/tower.png tools/lzcomp --compressor multipass --align 4 --method 2 --align 4 -- gfx/tilesets/tower.2bpp gfx/tilesets/tower.2bpp.lz rgbgfx -o gfx/tilesets/lab.2bpp gfx/tilesets/lab.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/lab.2bpp gfx/tilesets/lab.2bpp.lz rgbgfx -o gfx/tilesets/mart.2bpp gfx/tilesets/mart.png tools/lzcomp --compressor multipass --align 4 --method 2 --align 4 -- gfx/tilesets/mart.2bpp gfx/tilesets/mart.2bpp.lz rgbgfx -o gfx/tilesets/game_corner.2bpp gfx/tilesets/game_corner.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/game_corner.2bpp gfx/tilesets/game_corner.2bpp.lz rgbgfx -o gfx/tilesets/train_station.2bpp gfx/tilesets/train_station.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/train_station.2bpp gfx/tilesets/train_station.2bpp.lz rgbgfx -o gfx/tilesets/elite_four_room.2bpp gfx/tilesets/elite_four_room.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/elite_four_room.2bpp gfx/tilesets/elite_four_room.2bpp.lz rgbgfx -o gfx/tilesets/park.2bpp gfx/tilesets/park.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/park.2bpp gfx/tilesets/park.2bpp.lz rgbgfx -o gfx/tilesets/radio_tower.2bpp gfx/tilesets/radio_tower.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/radio_tower.2bpp gfx/tilesets/radio_tower.2bpp.lz rgbgfx -o gfx/tilesets/underground.2bpp gfx/tilesets/underground.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/underground.2bpp gfx/tilesets/underground.2bpp.lz rgbgfx -o gfx/tilesets/dark_cave.2bpp gfx/tilesets/dark_cave.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/dark_cave.2bpp gfx/tilesets/dark_cave.2bpp.lz rgbgfx -o gfx/tilesets/pokecom_center.2bpp gfx/tilesets/pokecom_center.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/pokecom_center.2bpp gfx/tilesets/pokecom_center.2bpp.lz rgbgfx -o gfx/tilesets/battle_tower_inside.2bpp gfx/tilesets/battle_tower_inside.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/battle_tower_inside.2bpp gfx/tilesets/battle_tower_inside.2bpp.lz rgbgfx -o gfx/tilesets/gate.2bpp gfx/tilesets/gate.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/gate.2bpp gfx/tilesets/gate.2bpp.lz rgbgfx -o gfx/tilesets/johto_modern.2bpp gfx/tilesets/johto_modern.png tools/lzcomp --compressor null --method 1 --align 1 -- gfx/tilesets/johto_modern.2bpp gfx/tilesets/johto_modern.2bpp.lz rgbgfx -o gfx/tilesets/traditional_house.2bpp gfx/tilesets/traditional_house.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/traditional_house.2bpp gfx/tilesets/traditional_house.2bpp.lz rgbgfx -o gfx/tilesets/forest.2bpp gfx/tilesets/forest.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/forest.2bpp gfx/tilesets/forest.2bpp.lz rgbgfx -o gfx/tilesets/champions_room.2bpp gfx/tilesets/champions_room.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/champions_room.2bpp gfx/tilesets/champions_room.2bpp.lz rgbgfx -o gfx/tilesets/house.2bpp gfx/tilesets/house.png tools/lzcomp --compressor multipass --align 4 --method 2 --align 4 -- gfx/tilesets/house.2bpp gfx/tilesets/house.2bpp.lz rgbgfx -o gfx/tilesets/lighthouse.2bpp gfx/tilesets/lighthouse.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/lighthouse.2bpp gfx/tilesets/lighthouse.2bpp.lz rgbgfx -o gfx/tilesets/facility.2bpp gfx/tilesets/facility.png tools/lzcomp --compressor multipass --align 4 -- gfx/tilesets/facility.2bpp gfx/tilesets/facility.2bpp.lz rgbgfx -o gfx/tilesets/ruins_of_alph.2bpp gfx/tilesets/ruins_of_alph.png tools/lzcomp --compressor null --method 1 --align 1 -- gfx/tilesets/ruins_of_alph.2bpp gfx/tilesets/ruins_of_alph.2bpp.lz rgbasm -L -Weverything -Wnumeric-string=2 -Wtruncation=1 -o gfx/tilesets.o gfx/tilesets.asm rgbasm -L -Weverything -Wnumeric-string=2 -Wtruncation=1 -o lib/mobile/main.o lib/mobile/main.asm rgblink -n pokecrystal.sym -m pokecrystal.map -l layout.link -o pokecrystal.gbc audio.o home.o main.o wram.o data/text/common.o data/maps/map_data.o data/pokemon/dex_entries.o data/pokemon/egg_moves.o data/pokemon/evos_attacks.o engine/movie/credits.o engine/overworld/events.o gfx/misc.o gfx/pics.o gfx/sprites.o gfx/tilesets.o lib/mobile/main.o error: audio.o is a revision 0x0009 object file; only 0x0008 is supported make: *** [pokecrystal.gbc] Error 1 tylerruff@Tylers-MacBook-Pro-2 Pokemon_Crystal_Legacy % make

rgblink -n pokecrystal.sym -m pokecrystal.map -l layout.link -o pokecrystal.gbc audio.o home.o main.o wram.o data/text/common.o data/maps/map_data.o data/pokemon/dex_entries.o data/pokemon/egg_moves.o data/pokemon/evos_attacks.o engine/movie/credits.o engine/overworld/events.o gfx/misc.o gfx/pics.o gfx/sprites.o gfx/tilesets.o lib/mobile/main.o error: audio.o is a revision 0x0009 object file; only 0x0008 is supported make: *** [pokecrystal.gbc] Error 1 tylerruff@Tylers-MacBook-Pro-2 Pokemon_Crystal_Legacy % make

rgblink -n pokecrystal.sym -m pokecrystal.map -l layout.link -o pokecrystal.gbc audio.o home.o main.o wram.o data/text/common.o data/maps/map_data.o data/pokemon/dex_entries.o data/pokemon/egg_moves.o data/pokemon/evos_attacks.o engine/movie/credits.o engine/overworld/events.o gfx/misc.o gfx/pics.o gfx/sprites.o gfx/tilesets.o lib/mobile/main.o error: audio.o is a revision 0x0009 object file; only 0x0005 is supported make: *** [pokecrystal.gbc] Error 1 tylerruff@Tylers-MacBook-Pro-2 Pokemon_Crystal_Legacy % make

rgblink -n pokecrystal.sym -m pokecrystal.map -l layout.link -o pokecrystal.gbc audio.o home.o main.o wram.o data/text/common.o data/maps/map_data.o data/pokemon/dex_entries.o data/pokemon/egg_moves.o data/pokemon/evos_attacks.o engine/movie/credits.o engine/overworld/events.o gfx/misc.o gfx/pics.o gfx/sprites.o gfx/tilesets.o lib/mobile/main.o error: main.o is a revision 0x0008 object file; only 0x0009 is supported make: *** [pokecrystal.gbc] Error 1 `

tylerqr commented 1 year ago

If you run make tidy command when switching rgbds versions it resolves this problem