I have an app built on top of some custom libs that are built on top of FLTK2 r6970: simple window, menu, a few buttons, and a GLwindow. Everything works as intended / expected under Linux (SuSE 10.2, gcc 4.2.1), but the same code fails to display anything GL under Windows (XP SP1, msys / minGW / gcc 3.4.5). All other widgets operate normally.
The GLwindow never appears to be actually drawn, although all the GL calls seem to work. I can force redraw, draw() is called. visible() returns true. glGetError() returns GL_NO_ERROR. Even something as simple as setting glColor to black and calling glClear() causes nothing visual. The gl_overlay and gl_puzzle demos work fine, so I figure that the compiler, libs, and video drivers are okay. The only thing that's struck me as odd (environment-wise) is when I re-arranged some code to force some GL errors, and calling glGetError() wouldn't reset the error bits. The app is only about a thousand lines, but the libs are over 21K, so it's not something I can paste into a message. :-P Just to reiterate, this same source works fine under Linux (there is a lot of ifdef'ed code buried in the libs, but nothing having to do with OpenGL), so I figure I've missed something stupid on the Windows build, like something isn't initialized, or I'm linking against the wrong libs (fltk2_glut, fltk2_gl, fltk2, glu32, opengl32). I'm not looking for a handout solution, just tired of beating my face against the keyboard. Any suggestions on what direction to look in are welcome. _______________________________________________ fltk-opengl mailing list fltk-opengl@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-opengl