You have installed agbcc incorrectly for the FRLG+ directory. You have to clone it and install it into the FRLG+ directory just like you did with pokefirered. Additionally, don't run make compare when building hacks because you will be comparing to vanilla FR and obviously FRLG+ is going to fail that check. You can just run make -j<whatever> when building FRLG+ for the first time. You may want to run make clean beforehand.
Hmm, I really thought I installed agbcc just as the document says, so it must be something I'm missing here. Although that guide was for pokefirered, it should still be the same process for FRLG+ right?
I tried again from the start but I still get the same error message about "/bin/bash: arm-none-eabi-cpp: command not found". Here are all my steps:
- With WSL1 installed, run the command
"sudo apt install build-essential binutils-arm-none-eabi git libpng-dev" to get all packages listed.
- Change directory to the new empty folder FRLG-Plus-mod with
"cd "/mnt/c/........../FRLG-Plus-mod"
- Download Github FRLG+ files with
"git clone https://github.com/Deokishisu/FRLG-Plus". No issues.
- While still in the FRLG-Plus-mod folder, download agbcc
"git clone https://github.com/pret/agbcc". Also no issues.
-
"cd ./agbcc"
-
"sh build.sh". Displays a whole bunch of text, with the last output being "make: Leaving directory '/mnt/c/........../FRLG-Plus-mod/agbcc/libc' "
-
"sh install.sh ../FRLG-Plus", with the output "agbcc successfully installed!"
-
"cd ../FRLG-Plus"
-
"make -j<nproc>", which runs normally for a short while before these error messages appear:
/bin/bash: arm-none-eabi-cpp: command not found
../../tools/gbagfx/gbagfx graphics/msg_box.png graphics/msg_box.gbapal
/bin/bash: arm-none-eabi-cpp: command not found
make[2]: *** [Makefile:151: build/src/agb_flash_1m.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/bash: arm-none-eabi-cpp: command not found
make[2]: *** [Makefile:151: build/src/agb_flash_mx.o] Error 127
make[2]: *** [Makefile:151: build/src/siirtc.o] Error 127
make[1]: *** [Makefile:169: payload] Error 2
make: *** [Makefile:272: berry_fix] Error 2
In the install file for FRLG+ (
https://github.com/Deokishisu/FRLG-Plus/blob/master/INSTALL.md), there is a prerequisites section about installing devkitpro and some commands, is this necessary even when using WSL1?
Thanks for your help.