support for the ARM toolchain
-
anon
- Posts: 2
- Joined: Tue Feb 03, 2009 8:25 pm
Post
by anon » Tue Feb 03, 2009 8:45 pm
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
-
obcd
- Posts: 21
- Joined: Mon Jan 19, 2009 10:09 pm
Post
by obcd » Wed Feb 04, 2009 9:19 am
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.
-
anon
- Posts: 2
- Joined: Tue Feb 03, 2009 8:25 pm
Post
by anon » Wed Feb 04, 2009 10:01 pm
thanks I really needed the help
I will try it out after I clean my keyboard.
-
WinterMute
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Thu Feb 05, 2009 1:43 am
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.
Who is online
Users browsing this forum: No registered users and 5 guests