0

I am trying to set up devkitPro for ARM use, but I continuously get an error while executing the last two commands. The commands are make and make install.

The tutorials I am following:

When I get to the make command, it gives me this error:

/opt/devkitPro/ctrulib/libctru$ sudo make
Makefile:6: *** ***"Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM".  Stop.

In the tutorials, it tells me to put that the following commands in my .bashrc, so I did, bit it will not work still.

export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
muru
  • 207,228
Brendon
  • 155

1 Answers1

0

Try:

sudo DEVKITARM=$DEVKITPRO/devkitARM make

Though I must say that make doesn't usually require sudo. You probably need it because you're working off /opt, where files are usually owned by root, so it might be simpler to chown as neeeded and run just make:

sudo chown $USER /opt/devkitPro/ -R
muru
  • 207,228