First Last Prev Next    No search results available
Details
: undefined symbol: glBlendEquationSeparateATI
Bug#: 834
: MGL Applications
: ADT
Status: RESOLVED
Resolution: WORKSFORME
: PC
: Linux
: 1.4.5
: P2
: blocker
: ---

:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Paul W. Elsinghorst <paul@uni-bonn.de>
Assigned To: Sargis Dallakyan <sargis@scripps.edu>

Attachments
glATI.h (201.85 KB, application/octet-stream)
2007-06-11 23:21, Paul W. Elsinghorst
Details
Mesa's gl.h minus glBlendEquationSeparateATI (87.69 KB, application/octet-stream)
2007-06-12 10:32, Sargis Dallakyan
Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2007-06-10 02:09
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
------- Comment #1 From Sargis Dallakyan 2007-06-11 14:09:56 -------
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
------- Comment #2 From Paul W. Elsinghorst 2007-06-11 23:21:13 -------
Created an attachment (id=145) [details]
glATI.h
------- Comment #3 From Paul W. Elsinghorst 2007-06-11 23:22:11 -------
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
------- Comment #4 From Sargis Dallakyan 2007-06-12 10:32:19 -------
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.
------- Comment #5 From Sargis Dallakyan 2007-06-12 10:39:50 -------
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.
------- Comment #6 From Paul W. Elsinghorst 2007-06-12 11:10:18 -------
Thanks, this works for me.:-)

First Last Prev Next    No search results available