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:
- http://3dbrew.org/wiki/Setting_up_Development_Environment
- http://devkitpro.org/wiki/Getting_Started/devkitARM
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
ch
anges theown
er of those files to your user, so that you can modify files without needingsudo
. As to the error, I think there might be some problem in yourDEVKITARM
path or in your installation of devkitARM. Either way, the variable works fine. – muru Jan 13 '15 at 00:23/opt/devkitPro/devkitARM
?) As for setting variables, see: http://askubuntu.com/q/4667/158442 – muru Jan 13 '15 at 00:30make install
should be a list of files it copied to some location. You can inspect that to see if a program was created. – muru Jan 13 '15 at 00:39root@bbnorman-Veriton-M460:/opt/devkitPro/ctrulib/libctru# make install make[1]: `/opt/devkitPro/ctrulib/libctru/lib/libctru.a' is up to date. mkdir -p /opt/devkitPro/libctru bzip2 -cd libctru-0.3.0.tar.bz2 | tar -x -C /opt/devkitPro/libctru
– Brendon Jan 13 '15 at 00:42libctru
is, as the name suggests, a library, so it's not surprising nothing runnable was created. You should consider installing a C++ IDE. I could try, but it would take me a while since I don't have a Linux system on hand. – muru Jan 13 '15 at 00:53/opt/devkitPro/libctru
, where themake install
command extracted some things to. – muru Jan 13 '15 at 00:54