|
|
Nicholas Schwarz wrote:
Nicholas Schwarz wrote:
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(---)?
What OS?
SuSE 10.2
What graphics card?
GeForce 5600 with latest nVidia driver.
What compiler?
g++ (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
What version of FLTK?
1.1.7
Can you re-test with the current 1.1.x snapshot?
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
[ Direct Link to Message ] | |
|
| |