|
From: Michael Z. K. <mz...@an...> - 2001-08-07 02:45:33
|
I get the following error when running python and then importing the
visual module:
Python 2.1 (#1, Jul 30 2001, 23:12:46)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> from visual import *
Visual-2001-07-28
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.1/visual/__init__.py", line 17, in ?
import cvisual
ImportError: /usr/lib/python2.1/lib-dynload/cvisualmodule.so: undefined
symbol: create_faces__FRCQ22Py5TupleRCQ22Py4Dict
>>>
I compiled visual from both CVS and the VisualSource file and got the
above error.
I was able to fix this by adding faceset.cpp to the VISUAL_SOURCES list.
So it looks like this might need to be fixed in the source.
The 3D is also not very reliable...I get weird screen artifacts and
sometimes the vpython window won't respond for about 10 seconds...this
occurs on complicated scenes and ones which just are a box (i.e.. from
visual import * box() )
I am runnning RedHat 7.1 and I have a Matrox G400 with hardware
accelerated OpenGL. Any ideas...is there any linux setup which gives good
results? Under Windows everything runs ok (cringe..).
-Michael
|