[Mesa-users] Program fails to run if linked both libGLESv1_cm.so & libGLESv2.so in mesa 7.9.1

Yang, Jin A jin.a.yang at intel.com
Mon Jul 25 07:36:41 PDT 2011


Hi,

My program both linked the libGLESv1_cm.so & libGLESv2.so by using -lGLESv1_cm -lGLESv2 when building the program. But my program failed to run, if I enable LIBGL_DEBUG, when program is running, some gl api call will print "no context" out from mesa lib, but some gl api call will success. After debug the mesa lib, I found some times the gl api jump into libGLESv1_cm.so, sometimes into libGLESv2.so(which will print no context").

My program have bind opengles api and create opengles 1.0 context. It seems mesa become confused if both link v1 & v2. Is there any solution to solve this conflict? By the way, my mesa lib version is 7.9.1. Thanks for any suggestion on it.

Regards,
Jin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20110725/94b4facb/attachment.html>


More information about the mesa-users mailing list