Bugzilla – Bug 834
undefined symbol: glBlendEquationSeparateATI
Last modified: 2007-06-12 11:10:18
You need to log in before you can comment on or make changes to this bug.
I compiled the 1.4.5 sources with libGL from fglrx (closed source ATI) and libGLU from mesa. The compilation runs through with only some warnings. Starting ADT using runADT gives an error and stops: ImportError: /usr/lib/python2.5/site-packages/MGLToolsPckgs/opengltk/extent/_gllib.so: undefined symbol: glBlendEquationSeparateATI
It seems that gl.h defines glBlendEquationSeparateATI that is absent from libGL.so. Please make sure that gl.h and libGL.so are both from fglrx. Thanks, Sargis
Created an attachment (id=145) [details] glATI.h
Ok. I replaced gl.h (probably the MESA one) with the ATI one, which is actually called glATI.h. Now swig stops with the following error message: swig -v -python -o opengltk/extent/gllib_wrap.c opengltk/extent/gllib.i LangSubDir: python Search paths: ./ ./swig_lib/python/ /usr/share/swig/1.3.31/python/ ./swig_lib/ /usr/share/swig/1.3.31/ Preprocessing... Starting language-specific parse... opengltk/extent/gl_i.h:67: Error: Syntax error in input(2). Processing types... C++ analysis... Generating wrappers... The build script stops because of this error message and I'm nut sure if it can be ignored because swig (when run on its one) goes on as one can see above. I'll attach the glATI.h file. Maybe you can see what is wrong with line 67, atleast for swig. Thanks, Paul
Created an attachment (id=146) [details] Mesa's gl.h minus glBlendEquationSeparateATI This is modified version of Mesa's gl.h with glBlendEquationSeparateATI declaration removed.
Thanks for the file. I've created a new attachment that contains Mesa's gl.h minus glBlendEquationSeparateATI declaration. Please replace /usr/include/GL/gl.h with attached gl.h. This should build and install opengltk without problems.
Thanks, this works for me.:-)