- 3
- Posts
- 1
- Years
- Seen Sep 13, 2023
I've followed all the steps on installing DevkitARM on mac from here: https://github.com/pret/pokeemerald/blob/master/INSTALL.md#build-pokeemerald trying to build Emerald for my first ever ROM hack attempt. However, when I get to the step that requires the below commands I don't get any response
export DEVKITPRO=/opt/devkitpro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile
I have tried entering the 'make' command anyway and I get the below error.
tools/agbcc/bin/agbcc <flags> -o build/emerald/src/AgbRfu_LinkManager.o src/AgbRfu_LinkManager.c
/bin/bash: tools/agbcc/bin/agbcc: No such file or directory
In file included from src/AgbRfu_LinkManager.c:1:
include/global.h:4:10: fatal error: string.h: No such file or directory
4 | #include <string.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [build/emerald/src/AgbRfu_LinkManager.o] Error 127
make: *** Deleting file `build/emerald/src/AgbRfu_LinkManager.o'
Any help on what I'm doing wrong would be greatly appreciated.
export DEVKITPRO=/opt/devkitpro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile
I have tried entering the 'make' command anyway and I get the below error.
tools/agbcc/bin/agbcc <flags> -o build/emerald/src/AgbRfu_LinkManager.o src/AgbRfu_LinkManager.c
/bin/bash: tools/agbcc/bin/agbcc: No such file or directory
In file included from src/AgbRfu_LinkManager.c:1:
include/global.h:4:10: fatal error: string.h: No such file or directory
4 | #include <string.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [build/emerald/src/AgbRfu_LinkManager.o] Error 127
make: *** Deleting file `build/emerald/src/AgbRfu_LinkManager.o'
Any help on what I'm doing wrong would be greatly appreciated.