glXCreateGLXPbufferSGIX missing from parallels-tools libGL.so

Discussion in 'Linux Virtual Machine' started by BigMikeS, Feb 29, 2012.

  1. BigMikeS

    BigMikeS Bit poster

    Messages:
    2
    I'm running debian squeeze with kernel 2.6.32-5. I have a piece of openscenegraph code that is trying to link with libGL. It works for the non parallels-tools version of libGL. It gives me the error after parallels-tools replaces the libGL.so with libGL.so.7.0.15054.722853.

    According to nm --dynamic libGL.so.7.0.15054.722853, the symbols aren't there. Have they been moved somewhere else? Do I need to do something special when building the tools?

    Any help is appreciated.

    Mike
     
  2. ClemensA

    ClemensA Bit poster

    Messages:
    2
    Hi,

    have the same problem with OSG here - missing symbols on Ubuntu 12.04:

    ../../lib/libosgViewerd.so.3.0.1: undefined reference to `glXCreateGLXPbufferSGIX'
    ../../lib/libosgViewerd.so.3.0.1: undefined reference to `glXQueryGLXPbufferSGIX'
    ../../lib/libosgViewerd.so.3.0.1: undefined reference to `glXDestroyGLXPbufferSGIX'

    did you overcome it somehow?
    Cheers...
     
  3. ClemensA

    ClemensA Bit poster

    Messages:
    2
    runs with SGIX extension disabled...

    Hi,

    until the extensions are supported by the parallels gl library, I think the best workaround is:

    1) open src/osgViewer/PixelBufferX11.cpp
    2) insert "#undef GLX_SGIX_pbuffer" around line 280 (for OSG 3.0.1)
    3) close file and compile

    Cheers...
     
  4. BigMikeS

    BigMikeS Bit poster

    Messages:
    2
    Thanks!

    I gave up and went to dual boot. It will be much more convenient if I can go back to Parallels.
     
  5. philip_lamb

    philip_lamb Bit poster

    Messages:
    6
    This has been a long-running problem with OpenSceneGraph builds running on Parallels-hosted virtual machines. The root of the issue is that the OSG packages are binding to the older GLX_SGIX_pbuffer extension (GLX pre- version 1.3) rather than the newer Pbuffer capabilities which are core in GLX version 1.3 and later (see http://www.opengl.org/sdk/docs/man2/xhtml/glXCreatePbuffer.xml).

    Parallels GL drivers do not include the older version.

    So until the maintainer of the OpenSceneGraph .debs fixes the build, we are stuck with doing builds of OpenSceneGraph ourselves, with the modifications mentioned above by ClemensA.
     
  6. philip_lamb

    philip_lamb Bit poster

    Messages:
    6

Share This Page