News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
segmentation fault while using fltk??
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: segmentation fault while using fltk??

I did this very thing not long ago, and it required some poking before I came up with something that worked. Eventually found it needed to be drawn before Fl:run for some reason, which required a flush and a check. I never quite understood exactly what was happening, but this was the only way it would draw when the window itself was drawn:

Fl:flush() -- these two lines are necessary to draw before run() is called

The code is shown in practice in the beta4 version of the murgaLua demos package (test-lcd_numbers.lua)

08-16-2008 11:19 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: segmentation fault while using fltk?? - mikshaw - 08-16-2008 11:19 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: