FLTK logo

Re: glutBitmapCharacter

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: glutBitmapCharacter Michael Sweet Mar 27, 2007  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.