Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile #36

Open
64emax opened this issue Aug 28, 2021 · 2 comments
Open

Can't compile #36

64emax opened this issue Aug 28, 2021 · 2 comments

Comments

@64emax
Copy link

64emax commented Aug 28, 2021

I'm trying to compile the og game with no modifications and i get this error (yes, i tried different roms and none of the work)

Makefile.split:152: build/eu_3ds/level_rules.mk: No such file or directory
/bin/arm-none-eabi-cpp -P -DVERSION_EU -I . -o build/eu_3ds/level_rules.mk levels/level_rules.mk
make: /bin/arm-none-eabi-cpp: Command not found
Makefile.split:151: recipe for target 'build/eu_3ds/level_rules.mk' failed
make: *** [build/eu_3ds/level_rules.mk] Error 127
@AuditeMarlow
Copy link

The leading error in your make output is the following line:

make: /bin/arm-none-eabi-cpp: Command not found

This is likely an indicator that you are missing the 3ds-dev package group. After following the devkitPro installation instructions found here, you may invoke the following command to install the missing dependency.

The following command may be invoked on pacman-based systems such as Arch Linux and derivatives.

sudo pacman -S 3ds-dev

The following command may be invoked on non-pacman-based systems such as Debian or Ubuntu.

sudo dpk-pacman -S 3ds-dev

If the package cannot be found, your package database may be outdated and you are required to update it by invoking the following. Afterwards you may invoke the commands mentioned above to install the missing 3ds-dev dependency.

sudo (dkp-)pacman -Sy

Afterwards your make command should build just fine assuming you have the remaining dependencies installed as mentioned by the project's README.

@Srchronotrigger
Copy link

On my Windows WSL the following command was worked:
sudo dkp-pacman -S 3ds-dev
i tried DKP instead of DPK. I'm saying this because I don't know if the commands above are wrong, in my case it took me a little while to realize that the ones on the devkitpro wiki were DKP and not DPK. Perhaps this disclaimer will be useful to someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants