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 > Please help with strange devkitPro issue

#173731 - SifJar - Mon Apr 26, 2010 9:56 pm

I have been trying to compile the NDS Hello World example that comes with devkitPro, to test my installation, but I keep getting the following error:

Code:
C:\devkitPro\examples\nds\hello_world>make
makefile:9: /c/devkitPro/devkitARM/ds_rules: No such file or directory
make: *** No rule to make target `/c/devkitPro/devkitARM/ds_rules'.  Stop.

C:\devkitPro\examples\nds\hello_world>


I have tried uninstalling and reinstalling, restarting my computer, checked my System Variables, checked the file definitely DOES exist (it does)...

Anyone have any idea what the problem could be?

#173889 - SatNav - Thu May 06, 2010 9:03 pm

It looks to me as though you're trying to compile from the windows command prompt, when you should be doing it from msys.

In your Start menu, under devkitpro, click msys, navigate to the correct directory from there, and try again.

Also, I guess, welcome to your first Unix prompt - it's much nicer ;)
_________________
Cube-DS: A Kick-Ass Rubik's Cube Game for DS
http://cube-ds.googlecode.com

#173890 - vuurrobin - Thu May 06, 2010 9:11 pm

making ds programs should work in the windows command prompt. it works with me...


@SifJar,
make sure that the file exists (again) and that the system variables are right (DEVKITPRO, DEVKITARM and PATH). also make sure that the first 2 variables begin with /c/ (UNIX style) while the devkitPro path in the PATH variable starts with C:/ (windows style).
_________________
my blog:
http://vuurrobin.100webcustomers.com/

#173892 - fincs - Thu May 06, 2010 9:37 pm

SatNav wrote:
It looks to me as though you're trying to compile from the windows command prompt, when you should be doing it from msys.

Actually not, the Windows command prompt works as well (and I use it).

EDIT: vuurrobin beat me.

#173893 - SatNav - Thu May 06, 2010 10:23 pm

Oh - my mistake! It did seem a little odd that such a simple thing hadn't been answered in like a week and a half. Oh well... IGNORE ME!!!
_________________
Cube-DS: A Kick-Ass Rubik's Cube Game for DS
http://cube-ds.googlecode.com

#173903 - SifJar - Fri May 07, 2010 4:36 pm

The problem was with the Environment Variables, which had UNIX style folder path, instead of Windows style. Anyway, I fixed the issue. Forgot to update the thread, but thanks for your suggestions anyway.