Hi, On Wed, 2006-07-05 at 12:12 +0200, Marcus Roth wrote: > Hi, > > Gerrit Voss wrote: > > Hi, > > > > > > > > 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
ah I see you were talking about the runtime linker. Yep than there will be a problem if you compiler against a 1.4 system and run it on a 1.3. Than the only way, as putting it in there was necessary for some reason, is add a configure switch so you can remove it. regards, gerrit 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
