Fail To Make: "Bus Error"
Posted: Fri May 15, 2009 6:38 pm
Hi there! I have some problems compiling my program for the DS, so what I'm up to is to ask if anyone can give me a hint to solve this. The problem looks like this:
So, I was able to compile my prog all the time, having done my very own 3D engine made with Xcode and SDL. Had also done everything ready to just compile it via devkit without changing anything. This just worked well, except for one thing: All polygons (triangles) were drawn awful wrong. Loading the map and collision detections works just like on my computer, but no matter if I use the BSP-Tree for drawing or just draw every single polygon, it get screwed up (say, it's just a bunch of triangles -- they look somehow a bit like they should be, just WAY smaller, displaced, and a bit 'smashed'... hard to explain). BTW: I'm not converting the float values myself, I still using the "glVertex3f" methods. But as far as I tested, converting all those floats into v16 values doesn't change anything...
So, I thought "Hmmm... My devkitPro version is 'quite' old (r21), there must be a newer one, that might fix this problem!" -- so thought, so done. I dowloaded everything (newest versions) told in the "getting started" section at the wiki, placed everything where it should be -- resulting in being not able to compile my program anymore. When calling the "make" command in the terminal, I can see the compiler compiling everything needed to link the DS ROM succesfully, but when it comes to linking itself, the compiler gets an error. This is what I get:
Stupid as I am, I deleted the older devkit version, and exactly this version seems to be not available anymore...
Does anyone have a suggestion? Would a newer version possibly fix my first problem? If not, what could cause this happening? And how may I bring my devkit back to life? :'(
I'm running a G5 (PPC) with MacOS 10.4.11 (Tiger).
All DS testing was done on a real DS.
I'll very appreciate anyone's help!!
Oh and guys: YOU ARE AWESOME!! Thank you for devkitPro!!
So, I was able to compile my prog all the time, having done my very own 3D engine made with Xcode and SDL. Had also done everything ready to just compile it via devkit without changing anything. This just worked well, except for one thing: All polygons (triangles) were drawn awful wrong. Loading the map and collision detections works just like on my computer, but no matter if I use the BSP-Tree for drawing or just draw every single polygon, it get screwed up (say, it's just a bunch of triangles -- they look somehow a bit like they should be, just WAY smaller, displaced, and a bit 'smashed'... hard to explain). BTW: I'm not converting the float values myself, I still using the "glVertex3f" methods. But as far as I tested, converting all those floats into v16 values doesn't change anything...
So, I thought "Hmmm... My devkitPro version is 'quite' old (r21), there must be a newer one, that might fix this problem!" -- so thought, so done. I dowloaded everything (newest versions) told in the "getting started" section at the wiki, placed everything where it should be -- resulting in being not able to compile my program anymore. When calling the "make" command in the terminal, I can see the compiler compiling everything needed to link the DS ROM succesfully, but when it comes to linking itself, the compiler gets an error. This is what I get:
Code: Select all
linking DSTEST.elf
built ... DSTEST.arm9
make[1]: *** [/Users/mensk/Desktop/DSTEST/DSTEST.nds] Bus error
make: *** [build] Error 2
Does anyone have a suggestion? Would a newer version possibly fix my first problem? If not, what could cause this happening? And how may I bring my devkit back to life? :'(
I'm running a G5 (PPC) with MacOS 10.4.11 (Tiger).
All DS testing was done on a real DS.
I'll very appreciate anyone's help!!
Oh and guys: YOU ARE AWESOME!! Thank you for devkitPro!!