YoungMX Forums Forum Index YoungMX Forums
Welcome to the YoungMX forums.
The YoungMX forums were created for discussions and help based around YoungMX,
but any subject is allowed inside the realms of sanity.
Feel free to invite your friends and enjoy your stay.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

libfb sample1 crashes

 
Post new topic   Reply to topic    YoungMX Forums Forum Index -> LibFB
View previous topic :: View next topic  
Author Message
mobydisk



Joined: 06 Apr 2007
Posts: 6

PostPosted: Wed May 23, 2007 9:18 pm    Post subject: libfb sample1 crashes Reply with quote

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
View user's profile Send private message
mobydisk



Joined: 06 Apr 2007
Posts: 6

PostPosted: Thu May 24, 2007 6:27 am    Post subject: -O2 is part of the problem Reply with quote

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. Sad
Back to top
View user's profile Send private message
mobydisk



Joined: 06 Apr 2007
Posts: 6

PostPosted: Thu May 24, 2007 7:09 am    Post subject: Almost got it Reply with quote

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    YoungMX Forums Forum Index -> LibFB All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group