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.

Beginners > makefile can't find ds_rules

#164715 - isbeorn - Sat Nov 15, 2008 5:52 pm

Hi everybody.
I'm new to developing for the ds and I've been trying to get started by reading some tutorials.
I'm running windows XP, so I have downloaded and installed the devkitPro stuff.

But I can't get the makefiles to run correctly. They complain about not finding "ds_rules" in my devkitARM dir. This is the line that fails:
Code:
include $(DEVKITARM)/ds_rules

Just like it says there is no such dir or file and I have no clue to what that's supposed to be. What is missing?

In another thread I read this:
Quote:
This installer places files inside folders called 'bin', 'lib', 'include', etc. inside C:\devkitPro\devkitARM\. There should be a file called C:\devkitPro\devkitARM\bin\arm-eabi-gcc.exe.


My folder structure starts with devkitPro as the root. In there are the "examples", "libgba", "libnds", "msys", etc folders. Not a single one of those mentioned by the quote.
Both my DEVKITARM and DEVKITPRO environment variables point to that same devkitPro dir, as well as it being contained in my PATH variable along with the path to the "msys\bin" folder.

Anyone who can see something amiss? Thanks a lot.

#164720 - gmiller - Sat Nov 15, 2008 10:22 pm

your DEVKITPRO should point to the base folder of the devkitpro in stall and the DEVKITARM should point to the folder where the ARM code is installed.

On my machine:

DEVKITPRO - /c/devkitPro

DEVKITARM - /c/devkitPro/devkitARM

#164723 - elhobbs - Sun Nov 16, 2008 1:45 am

not sure if this is applicable to your situation, but I think devkitpro does not like to be installed to a path containing spaces.

#164742 - isbeorn - Mon Nov 17, 2008 3:18 am

Jeez, I had actually removed devkitARM by mistake! I feel really silly.
It works just fine now. Thank you for your answers, without them it would have taken me longer to realize what was wrong.