[Mesa-users] Linking OSMesa and GL

Haavard Holm haavard.holm at ntnu.no
Tue Aug 9 18:25:47 UTC 2016


Hello,

I have made a program, running under fltk and using the GL-libraries.

To add some features it seems handy to use OSMesa. I have however 
problems using both libraries.

If I link with -lOSMesa -lGL -lGLU, my OSMesa features work fine, but my 
other OpenGL windows turn black.
If I link with -lGL -lGLU -lOSMesa, gives the oposite result.

How can this be fixed ? Are there a way to handle this problem ?

Best regards
HÃ¥vard Holm




More information about the mesa-users mailing list