Page 1 of 1

Make Problem/Error

Posted: Tue Feb 03, 2009 8:45 pm
by anon
Ok, so basicly when I opened the hello world example for the ds (in programmer's notepad) and try to make/compile it. The output section (down the bottom of the editor) gives me this error...

Code: Select all

> "make" 
main.cpp
arm-eabi-g++ -MMD -MP -MF /c/devkitPro/examples/nds/Graphics/2D/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/include -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/build -I/c/devkitPro/libnds/include -I/c/devkitPro/libnds/include -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /c/devkitPro/examples/nds/Graphics/2D/hello_world/source/main.cpp -o main.o
In file included from c:/devkitPro/libnds/include/nds/timers.h:55,
                 from c:/devkitPro/libnds/include/nds.h:116,
                 from c:/devkitPro/examples/nds/Graphics/2D/hello_world/source/main.cpp:10:
c:/devkitPro/libnds/include/nds/linkedlist.h:88:7: warning: no newline at end of file
linking hello_world.elf
built ... hello_world.arm9
Nintendo DS rom tool 1.36 - Oct 22 2007 04:04:50
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
Cannot open file 'c:/devkitPro/libnds/basic.arm7'.
make[1]: *** [/c/devkitPro/examples/nds/Graphics/2D/hello_world/hello_world.nds] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:00
Can anyone tell me how to fix it :?:
Thanks

Re: Make Problem/Error

Posted: Wed Feb 04, 2009 9:19 am
by obcd
It looks like the rom tool is trying to find basic.arm7 in devkitpro\libnds. In my devkitpro, this file is now default.arm7. So, copiing that file and renaming it to basic.arm7 might at least solve the error. I guess if you look in your makefile, you will find the reference to basic.arm7 in it, which you can change to default.arm7 (A better solution.) I somehow think your project and sources used to be compiled with an older version of the devkitpro, but being new to the scene as well, I can't tell you when they changed the arm7 code name.

Re: Make Problem/Error

Posted: Wed Feb 04, 2009 10:01 pm
by anon
thanks I really needed the help

I will try it out after I clean my keyboard.

Re: Make Problem/Error

Posted: Thu Feb 05, 2009 1:43 am
by WinterMute
Use the devkitPro Updater to get the most recent toolchain and support libraries. You appear to be using a mixture of old and new components.