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.

DS development > devkitPro on ubuntu! Hrelp!

#128841 - TOAST - Tue May 15, 2007 9:37 pm

Okay, i'm totaly lost here. I have devkitPro in my home directory, but when i try to compile (examples/nds/graphics/3D/textured_cube or something like that) it first tells me to add to system with export DEVKITARM=*path which i write here* then when that's done i compile again but then it says it can't find some files that acctualy are there. :S

Someone please help me set this up...

#128846 - fogzot - Tue May 15, 2007 9:55 pm

On Debian, that is almost Ubuntu, after unpacking devkitARM and libnds I have the following layout:

/home/me/devkitPro
/home/me/devkitPro/devkitARM
/home/me/devkitPro/libnds
...

I put in my .bashrc the following and everything works out of the box:

Code:
export DEVKITPRO=$HOME/devkitPro
export DEVKITARM=$HOME/devkitPro/devkitARM
export PATH=$DEVKITARM/bin:$PATH

#128848 - TOAST - Tue May 15, 2007 10:19 pm

Oh ok, i think that might just do it... But where is that .bashrc file located??? ^_^' (am pretty sure it's something else on ubuntu??)

#128854 - fogzot - Tue May 15, 2007 11:01 pm

Usually in your home directory. But you can place that 3 lines almost in any file and then source it with ". your_file". .bashrc is useful because gets sourced every time you open a (bash) shell.

#128877 - OOPMan - Wed May 16, 2007 8:12 am

.bashrc will almost always be located in /home/yourusernamehere or /root (For the root user, which you shouldn't be using anyway...)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#128887 - TOAST - Wed May 16, 2007 2:44 pm

Thanks guys, it's working now. ^_^