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 > Complile problem

#45393 - blowfish - Fri Jun 10, 2005 4:15 am

I compile the nds sample,and the copile syas"Makefile:9: C:\ndsdev\devkitARM\ds_rules: NO such file or directory"
Can anybody help me this problem. Thanks.

#45395 - Kyoji - Fri Jun 10, 2005 4:38 am

You have to change the path C:\ndsdev\devkitARM\ to where your devkitARM file is in the environment variables setup window.
Control panel->system->advanced tab>environment variables.
Under the first window, click new. Name it DEVKITARM and type the path of the devkitARM folder using unix form, like /c/devkitpro/devkitarm.

#45402 - wintermute - Fri Jun 10, 2005 10:07 am

no, you get rid of ndsdevenv and follow the instructions http://devkitpro.sourceforge.net/setup.shtml

you also update the example you have.

#45403 - blowfish - Fri Jun 10, 2005 10:30 am

I followed http://devkitpro.sourceforge.net/setup.shtml
and still can not compile the sample.how can i get libnds content?

#45406 - FourScience - Fri Jun 10, 2005 12:28 pm

Did you download the latest libnds from http://sourceforge.net/projects/ndslib? Unzip it to a c:\devkitPRO\libnds\.

Make sure you are using the right environment variables, either set in System Properties->Advanced->Environment Variables (preferred) or using the SET command in the command prompt:
PATH=c:\devkitpro\devkitarm\bin;c:\devkitpro\msys\bin
DEVKITPRO=/c/devkitPRO/
DEVKITARM=/c/devkitARM/
LIBNDS=c:\devkitPRO\libnds\lib

See here:
http://dual-soft.com/files/envvariables2.bmp

Double check that your environment variables point to the correct directories for your installs/unzips. In the future, always include the command line errors so we can see exactly what is going wrong.
_________________
Work in progress: Dual-Soft.com

#45409 - wintermute - Fri Jun 10, 2005 12:50 pm

blowfish wrote:
I followed http://devkitpro.sourceforge.net/setup.shtml
and still can not compile the sample.how can i get libnds content?


it would of course help if you told us what the error was

#45421 - natrium42 - Fri Jun 10, 2005 3:20 pm

What does "echo %PATH%" say? Type it into the command console.
Also check the other environment variables.
_________________
www.natrium42.com

#45430 - strager - Fri Jun 10, 2005 5:20 pm

natrium42 wrote:
Also check the other environment variables.


Use the command "SET" all on its own for that.