Re: [PyOpenGL-Users] Python Qt OpenGL program: Xmu dependency
Brought to you by:
mcfletch
From: Tom D. <td...@yo...> - 2004-10-21 22:43:56
|
> I'm started working on an terrain editor using OpenGL, Qt and Python. I > can't start the application, since it depends on Xmu, and can't find > this library (it is installed though). I'm using Debian GNU/Linux > unstable. > > Here is the error message: > > disabling TCL support > Unable to resolve Xmu symbols - please check your Xmu library > installation. > > Maybe it has something to do with the Qt OpenGL bindings? > The (really small) source code can be found here: > > http://lumumba.luc.ac.be/~jo/temp/terrain_code/terrain.zip Works fine (after a couple of minor corrections) on 2 of my systems. Running ldd on one of the qt provided examples (aclock) shows very different results: SuSE9.1 linux-gate.so.1 => (0xffffe000) libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x4003f000) libpng.so.3 => /usr/lib/libpng.so.3 (0x40728000) libz.so.1 => /lib/libz.so.1 (0x40756000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40768000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40770000) ... SuSE9.0 libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x40036000) libpng.so.3 => /usr/lib/libpng.so.3 (0x4075b000) libz.so.1 => /lib/libz.so.1 (0x40789000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40798000) libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x40816000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40881000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40897000) ... Also ldd for kfind also show similar differences. Don't know why GL (and Xmu) are being linked in for non GL qt apps. However it does suggest it has nothing to do with python, and probably Qt version/build related. |