Segfault with OpenGL.Tk under Linux
Brought to you by:
mcfletch
Here's the problem:
dusty:~ $ python
Python 2.4.1 (#1, Apr 5 2005, 11:00:51)
[GCC 3.4.3] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import OpenGL.Tk
Segmentation fault
Pyopengl is version 2.0.2.01
Distro is Arch Linux
dusty:~ $ uname -a
Linux buchuki 2.6.13-ARCH #1 SMP Fri Sep 30 13:08:16
CEST 2005 i686 AMD Athlon(tm) 64 Processor 3200+
AuthenticAMD GNU/Linux
The OpenGL.Tk demos that come with OpenGL don't work,
but they work fine under Windows.
Dusty
Logged In: NO
I had the same problem with SuSE 10.0
Deinstallation of the SuSe version and re-compilation of the
latest PyOpenGL version gave the same result.
After several unsuccessfull trials I found a solution by
(only) recompiling Togl-1.6 (with the tcl/tk headers from
Suse's tcl/tk-version) and replacing Togl.so in
/usr/lib/python/site-packages/OpenGL/Tk/linux2-tk8.4/Togl.so
Logged In: NO
Same problem, Ubuntu Feisty.
Logged In: NO
Ubuntu Bug:
https://bugs.launchpad.net/ubuntu/+source/pyopengl/+bug/80656