Linking OSMesa and GL

Haavard Holm <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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


_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.