Re: [fltk.general] Problem to redraw in the Fl_Gl_Window

2010-03-08 Thread Greg Ercolano
Pedro Henrique Linhares wrote: > This is what I get from my debugger : > > Program received signal SIGSEGV, Segmentation fault. > 0x080498d3 in MainWindow::translate (this=0x0) at Poligono.cpp:75 > 75 mygl->translate(1.0,1.0,0.0); > (gdb) backtrace > #0 0x080498d3 in MainWindow::translate (t

Re: [fltk.general] timeout issue

2010-03-08 Thread leowang
> Dear All, > I found a issue about timeout as belows: > > I have add a timeout in my main thread, and it will repeat per 1 second, then > I change the RTC time, change to a previous time, such as (the current time > is 9th Mar, 2010, I change to 9th Mar, 2009), the timeout will stop and will >

[fltk.general] timeout issue

2010-03-08 Thread leowang
Dear All, I found a issue about timeout as belows: I have add a timeout in my main thread, and it will repeat per 1 second, then I change the RTC time, change to a previous time, such as (the current time is 9th Mar, 2010, I change to 9th Mar, 2009), the timeout will stop and will not repeat. B

Re: [fltk.general] Problem to redraw in the Fl_Gl_Window

2010-03-08 Thread Pedro Henrique Linhares
"What do you get when you run it in your debugger? What doe sit show happening?" Imacarthur This is what I get from my debugger : Program received signal SIGSEGV, Segmentation fault. 0x080498d3 in MainWindow::translate (this=0x0) at Poligono.cpp:75 75 mygl->translate(1.0,1.0,0.0); (gdb) ba

Re: [fltk.general] Problem to redraw in the Fl_Gl_Window

2010-03-08 Thread imacarthur
Pedro, Without digging into it more, I think the bug is actually in your MainWindow::translate_cb() method. I'd say that it looks like that is *not* invoking the right callback, but since the casting makes the types "look" right it is attempting to invoke the translate() method of some rand

Re: [fltk.general] Problem to redraw in the Fl_Gl_Window

2010-03-08 Thread imacarthur
On 8 Mar 2010, at 18:38, Pedro Henrique Linhares wrote: > > Following to the imacarthur's suggestion.. I posted my question and > code here: > http://www.gidforums.com/showthread.php?p=86184#post86184 > > Thank you again guys.. Pedro - would help a lot if what you posted was complete enough to

Re: [fltk.general] Problem to redraw in the Fl_Gl_Window

2010-03-08 Thread Pedro Henrique Linhares
"Can you make up a minimal, compileable, example showing how you use this class and post it somewhere, for us to try? Maybe even post it here if it is long too long..." imacarthur Following to the imacarthur's suggestion.. I posted my question and code here: http://www.gidforums.com/showthread.ph

Re: [fltk.general] ming gcc error in finding lfltk

2010-03-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
> can someone please explain how i rectify this error? > > -- Build: default in Face --- > > Linking executable: Face.exe > C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ > ld.exe: cannot find -lfltk You make sure the paths are correctly set up in the li