Hi,

I'm having a bit of trouble with GLUT and FLTK. I'm only using two GLUT 
commands, glutBitmapCharacter(---) and glutBitmapWidth(---). 
GLUT_BITMAP_HELVETICA_10 is the only font I'm using. My GLUT code is placed 
along with a bunch of GL rendering calls in a subclass of Fl_Gl_Window. I'm not 
using a GLUT window and I haven't called any of the GLUT initialization calls. 
Sometimes my code executes just fine, and sometimes it crashes on the first 
call to glutBitmapCharacter(---) (I tested it with valgrind). I am linking 
against Fl's GLUT header file and not the system installed header file. Can 
anyone offer any advice about this? Should I be using Fl_Glut_Window instead of 
Fl_Gl_Window? Should I be doing some kind of GLUT initialization before I make 
the call to glutBitmapCharacter(---)?

Thanks again,

Nicholas
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to