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 > Mising file argument -fixed

#45830 - Toadhead - Wed Jun 15, 2005 5:08 pm

This is driving me crazy:

[Images not permitted - Click here to view it]
[Images not permitted - Click here to view it]


Does anyone know what the problem is?
I think the compiler just hates me :'(
I always get stupid errors like this, and when I create programs for the pc I barely get any errors :(

I hope someone can help me with this :)

Greetings,
Rob


Last edited by Toadhead on Wed Jun 15, 2005 5:47 pm; edited 1 time in total

#45832 - cory1492 - Wed Jun 15, 2005 5:30 pm

do you have environment vars for DEVKITARM?
try adding this to the bat:
Code:

SET DEVKITARM=/c/ndsdev/devkitarm
SET DEVKITPRO=/c/ndsdev

and if that doesnt work trash the ndsdev environment and use this instead:
http://devkitpro.sourceforge.net/setup.shtml

I have heard it works better. I had the same errors when trying to make PA_lib with the mv, and it was because something wasnt defined, you can check the makefile to see if there is any other variables that should be defined as well (although Im assuming you remade your makefile yourself from a template?) Some of these errors could be happening if you are using mixed versions of the template and devkitARM (which is at R12 now)

#45833 - Toadhead - Wed Jun 15, 2005 5:45 pm

Nah everything works fine now. Had "BG.raw.c" instead of "BG1.raw.c" somewere in my code :)

It has nothing to do with those envoirement vars since other projects compiled as they should ;)

#45836 - cory1492 - Wed Jun 15, 2005 5:49 pm

well, Im glad I was wrong ;) my not defined meant that files from ndslib werent on the path where they should have been, but files that hadnt needed it were compiling fine.