Hi, Gerrit Voss wrote: > Hi, > > On Wed, 2006-07-05 at 11:26 +0200, Yvonne Jung wrote: > >> Hi, >> >> >>> that looks like your libs and headers do not match. You glx includes say >>> your lib version should support 1.4, hence glXGetProcAddress, but your >>> libs do not export the symbol. As we don't modify the glx part like we >>> do for GL (OSGGLEXT.h) the problems seems to be not inside OpenSG. >>> >>> >>> >> after an update I've had the same problem with my nvidia 81 driver, but >> after updating on 87 it worked. Therefore I assume there are some >> inconsistencies either in the nvidia ifdef's or more likely in the >> opensg ones? >> > > Hmm, the code checks for GLX_VERSION_1_4 and the only added function > from 1.3 to 1.4 was the promotion of glXGetProcAddress (from > glXGetProcAddressARB). So if your headers say GLX_VERSION_1_4 your libs > must provide the symbol. And as said we don't have something like > OSGGLEXT.h for the glx stuff (and a grep over the code did not show > anything suspicious, so OpenSG should be innocent this time ;-)) > On my system the header glx.h came form the package xorg-x11-Mesa-devel-6.8.2-100 and I think the lib libglx.so came from the nvidia installer. So now I can seach for the headers for the nvidia glx. But I think this maight be the wrong solution.
If the method glxGetProcAddress is available should be a runtime check and not a compile time check. Otherwise I have to compile OpenSG for each graphics driver. You can't ask the headers for for a glx-Version you have to ask your runtime environment and as a result of this, you are not allowed to use a static reference to glXGetProcAddress Marcus Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
