#39873 - ghod - Wed Apr 13, 2005 2:38 am
Please excuse my newb-ness if I am missing something obvious, but I am having problems setting up my NDS development environment in linux.
I generally followed this tutorial: http://www.dspassme.com/programmers_guide/Tutorial/configuration.html and did the following:
1. installed devkitARM_r11
2. checked ndslib out from sourceforge
3. built ndslib and used the Install.bat as a template of where the .o, .ld, and .specs files should be copied in the devkitARM/arm-elf/lib/ directories
4. built the examples that come with ndslib(makefile output below)
When I try running the resulting template.nds in dualis, it crashes. ( I have verified dualis works with demos people have posted in this forum ).
Any help would be greatly appreciated!
make output (/ndslib/examples/2D/2D_Example/)
------------------------------------------------------------------------------
rm -rf arm9/arm9.bin
rm -rf arm7/arm7.bin
make -C arm7 -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm7'
mv: missing file argument
Try `mv --help' for more information.
make[2]: [all] Error 1 (ignored)
main.cpp
built ... arm7.bin
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm7'
make -C arm9 -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9'
processing resources/balldata.bin
processing resources/ballpalette.bin
main.cpp
/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9/./main.cpp: In function `void updateOAM()':
/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9/./main.cpp:57: warning: comparison between signed and unsigned integer expressions
built ... arm9.bin
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9'
cp arm9/arm9.bin boot/resources/arm9.bin
cp arm7/arm7.bin boot/resources/arm7.bin
make -C boot -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/boot'
files: resources/arm7.bin resources/arm9.bin
objects: arm7.bin.o arm9.bin.o
processing resources/arm7.bin
processing resources/arm9.bin
main.cpp
captureARM9.s
built ... boot.gba
ROM fixed!
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/boot'
mv boot/boot.gba template.nds
I generally followed this tutorial: http://www.dspassme.com/programmers_guide/Tutorial/configuration.html and did the following:
1. installed devkitARM_r11
2. checked ndslib out from sourceforge
3. built ndslib and used the Install.bat as a template of where the .o, .ld, and .specs files should be copied in the devkitARM/arm-elf/lib/ directories
4. built the examples that come with ndslib(makefile output below)
When I try running the resulting template.nds in dualis, it crashes. ( I have verified dualis works with demos people have posted in this forum ).
Any help would be greatly appreciated!
make output (/ndslib/examples/2D/2D_Example/)
------------------------------------------------------------------------------
rm -rf arm9/arm9.bin
rm -rf arm7/arm7.bin
make -C arm7 -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm7'
mv: missing file argument
Try `mv --help' for more information.
make[2]: [all] Error 1 (ignored)
main.cpp
built ... arm7.bin
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm7'
make -C arm9 -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9'
processing resources/balldata.bin
processing resources/ballpalette.bin
main.cpp
/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9/./main.cpp: In function `void updateOAM()':
/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9/./main.cpp:57: warning: comparison between signed and unsigned integer expressions
built ... arm9.bin
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/arm9'
cp arm9/arm9.bin boot/resources/arm9.bin
cp arm7/arm7.bin boot/resources/arm7.bin
make -C boot -I /home/ryan/src/nds/ndslib/examples/2D/2D_Example
make[1]: Entering directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/boot'
files: resources/arm7.bin resources/arm9.bin
objects: arm7.bin.o arm9.bin.o
processing resources/arm7.bin
processing resources/arm9.bin
main.cpp
captureARM9.s
built ... boot.gba
ROM fixed!
make[1]: Leaving directory `/home/ryan/src/nds/ndslib/examples/2D/2D_Example/boot'
mv boot/boot.gba template.nds