From: Ari H. <ahe...@an...> - 2001-08-07 07:19:44
|
On Mon, Aug 06, 2001 at 10:45:29PM -0400, Michael Zadok Katzhyman wrote: > 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. Yeah, sorry, this is known. I will try to check in a makefile fix. DMA, if you could do this it would be appreciated (a CVS checkout over here is a long, drawn-out, painful affair). > > > 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..). > Hmm, I've been using things pretty heavily on my laptop (so software Mesa GL) with fairly complex scenes (Quake3 models), and things have been performing just fine. I don't know if I can offer any insights, except that I'l lbe playing with things more (and on a hardware-accelerated platform) in a week and a half when i'm back in town. Ari |