gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Patater's Introduction to Nintendo DS Programming > Compiling help

#171128 - monkyman95 - Mon Nov 02, 2009 3:15 am

i am on Linux ubuntu, and am trying to compile the first example.
after downloading the devkitARM and placing it in my Brent folder (a step above Home), I typed in "export DEVKITARM=devkitARM"
it didn't throw any errors at me, but when i typed in make, it said
"Makefile:9: devkitARM/ds_rules: No such file or directory"
Do I need to put it in it's own directory then re-export it?

2Tie

hmm... am i supposed to be typing in devkitPro instead of devkitARM?

#171132 - vuurrobin - Mon Nov 02, 2009 8:41 am

you need both the DEVKITPRO and the DEVKITARM environment variables.
_________________
my blog:
http://vuurrobin.100webcustomers.com/

#171134 - Drovor - Mon Nov 02, 2009 1:21 pm

You need the full path, like this:

DEVKITARM=/home/Brent/devkitPRO/devkitARM
DEVKITPRO=/home/Brent/devkitPRO

The script HERE might be useful also.