Page 1 of 1

Problem using make command- Linux

Posted: Mon Oct 29, 2012 11:13 pm
by RomPirate
Hello

I am having a problem running the make command for the examples for devkitARM

I have installed devkitARM as instructed at: http://devkitpro.org/wiki/Getting_Started/devkitARM
The folder structure is:
/usr/local/devkitPro
/usr/local/devkitPro/devkitARM
/usr/local/devkitPro/libnds/
/usr/local/examples/nds/

When I run "make" inside of /examples/nds, I get the following error:

Code: Select all

Makefile:6: *** "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM".  Stop.
I have already added the Enviornmental variable to my .bashrc file, in fact typing "echo $DEVKITARM" will give me:

Code: Select all

/usr/local/devkitPro/devkitARM
typing "echo $DEVKITPRO" gives:

Code: Select all

/usr/local/devkitPro/devkitARM
I have even tried:

Code: Select all

export DEVKITPRO=/usr/local/devkitPro/devkitARM
before the make command and still get the same error.

I seem to have the same problem as the OP here: http://devkitpro.org/viewtopic.php?f=2&t=395&start=20 who somehow fixed it but never said how

I would appreciate any help :D

Re: Problem using make command- Linux

Posted: Mon Nov 05, 2012 7:08 pm
by mtheall
You haven't realized there are two environment variables:

Code: Select all

export DEVKITPRO=/usr/local/devkitPro
export DEVKITARM=${DEVKITPRO}/devkitARM