PDA

View Full Version : glutStrokeCharacter prints stroke font not found



jsiva
07-01-2005, 01:52 AM
I am using this api glutStrokeCharacter and also successful in getting the text rendered in that font.
When i create a pthread and if the thread function is called, glutStrokeCharacter prints "freeglut: stroke font not found"
The thread function is in a static library. if i comment the thread function, glutStrokeCharacter works perfect if i uncomment the thread function, glutStrokeCharacter fails.
I think it should be something related to linking. i am using -lGL - lGLU -lGLUT -lmyLib
myLib has some thread functions that i call from my GL application. i use pthreads.
Kindly help.