I have an OpenGL application that uses the function GLwCreateMDrawingArea and the libGLw libraries. When the application is run on RH5.4 it works fine. When the application is run on Fedora 12, it crashes with undefined symbol: GLwCreateM2DrawingArea. On examination of the /usr/lib/libGLw.so.1.0.0 library on both RH5.4 & Fedora12, I can see that the GLwCreateM2DrawingArea routines are missing from the library. If I replace the Fedora12 libraries with the RH5.4 libraries then my app runs fine. On RH5.4 I have package mesa-libGLw-devel-6.5.1-7.7.el5 installed. On Fedora 12, I have package mesa-libGLw-devel-6.5.1-8.fc12.i686 installed I have 2 questions: 1. My concern is that on RH5.4 in a next release I could lose the GLwCreateMDrawingArea functionality, and so is this something that may be being depreciated. In which case do I need to implement an alternative? 2. Is this is bug in Fedora 12? Thanks, Paul.
The Xt GL drawing area widget is created with the function GLwCreateDrawingArea() and the Motif version is called GLwCreateMDrawingArea(). There's no "M2" version that I'm aware of. Perhaps you're using a customized version of the widget code? You could go into mesa/src/glw/ and hack up an M2 version for yourself. Maybe that'll work.
It looks like others have found similar problems, I just looked at http://ubuntuforums.org/showthread.php?t=373104. I've used GLwCreateMDrawingArea on various Red Hat releases and it's always worked, and this is pretty well eastablished and standard code. I'm not sure what happens exactly, but I guess GLwCreateMDrawingArea get's mapped to GLwCreateM2DrawingArea via the include files - I haven't checked this, so not sure. The GLwCreateM2DrawingArea function is in my RHEL5.4 libraries, just not in my Fedora libraries. For the time being I have a workaround by just using my RH libraries on Fedora, so at least the code is working OK. Regards, Paul.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.