glutStrokeCharacter freeglut: stroke font not found

Hello,
What could be the reason for this “freeglut stroke font not found” error message.
This error occurs only if i call a function from my static libraries (libmylib.a), if i dont call any function then, this api works just fine. Tried all sort of combinations, kindly throw in some ideas.

Regards,
Sivakumar Jayapal

I had this problem when I was using the FLTK libraries in conjunction with GLUT. If you include <FL/glut.h>, the stroke fonts do not work because they are not included with FLTK. You must also include <GL/glut.h> to resolve the linking error (since GLUT actually has the stroke fonts; I think it is a licensing issue or something…)

I hope that helps!

-Tyler