| View previous topic :: View next topic |
| Author |
Message |
mobydisk
Joined: 06 Apr 2007 Posts: 6
|
Posted: Wed May 23, 2007 9:18 pm Post subject: libfb sample1 crashes |
|
|
I just downloaded libfb and sample1, and when I build it, sample1 displays garbled text and crashes. It looks to me like libfb requires an old version of libnds, and the makefile probably expects an older version of devkitarm.
To simplify things I threw the libfb code right into the sample1 directory instead of using the lib. I have the same problem. Has anyone else tried to compile this recently? I'm using the 4/27/2007 update of libfb and the sample1 project on the same page. |
|
| Back to top |
|
 |
mobydisk
Joined: 06 Apr 2007 Posts: 6
|
Posted: Thu May 24, 2007 6:27 am Post subject: -O2 is part of the problem |
|
|
I removed -O2 from the Makefile and now it doesn't crash. The loop in drawRect in baserout.c was acting crazy and unpredictable. (Variables seemed to randomly change as it wrote to the framebuffer). Now the only issue is that the fonts seem corrupted - and performance will suffer of course.  |
|
| Back to top |
|
 |
mobydisk
Joined: 06 Apr 2007 Posts: 6
|
Posted: Thu May 24, 2007 7:09 am Post subject: Almost got it |
|
|
|
|
| Back to top |
|
 |
|