|
From: Lee H. <mi...@ho...> - 2004-05-09 22:56:26
|
>>I am trying to get vpython working on FreeBSD-4.9
>
>>
>>visual-2.1.9-20031005 configures and builds just fine, but when trying
>>to run the demos, none of the mouse controls work. I cannot close any
>>windows by clicking the X, and even using ctrl-c in the controlling
>>terminal does not seem to work quite right... I usually either need to
>>press ctrl-c twice, or else kill the process manually from another
>>window.
>
>Does the screen refresh if another window covers the VPython display and
>then uncovers it?
>
Yes.
>Does the scene animate itself? Not all of the demos will animate
>something right away. The two bounce demos should both produce a
>bouncing ball.
>
Yes, the animations seem to be working fine ... (ball bouncing, etc)
The first time I press ctrl-c, I get this:
^CTraceback (most recent call last):
File "bounce.py", line 10, in ?
rate(100)
File "/usr/local/lib/python2.3/site-packages/visual/__init__.py", line 34,
in __call__
return apply(self.constr, args, kw)
KeyboardInterrupt
Then on the second press of ctrl-c:
^CError in sys.exitfunc:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/atexit.py", line 20, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/local/lib/python2.3/site-packages/visual/__init__.py", line 67,
in __waitclose
while not cvisual.allclosed(): time.sleep(0.05)
KeyboardInterrupt
Xlib: unexpected async reply (sequence 0x1e66)!
>>I thought I might try the newer visual-2.9.3 snapshot, but that one
>>will not build ...
>>
>>Making all in cvisual
>>gmake[1]: Entering directory `/usr/home/lee/python/visual-2.9.3/cvisual'
>>Updating dependancy information for xgl.cpp ...
>>xgl.o: xgl.cpp xgl.h vector.h cvisual.h platform.h config.h vthread.h \
>>platlinux.h vcache.h glcontext.h
>>gmake[1]: *** [xgl.d] Error 1
>
>I doubt that upgrading will fix your problem, but you can try anyway.
>In cvisual/Makefile, line 20, set the variable "SHELL = /bin/sh", and
>run "make" again. Please let me know if that fixes your build problem.
>I need to update the source package soon anyway, since the version of
>Libtool shipped with it is broken.
>
I tried again with the newer version, using gcc-3.3,
but I am not sure that will work with a
libboost_python that is built with gcc2.95 ...
I had to move cvisualmodule.1 to cvisualmodule.so
and I am getting this error:
>>>import cvisualmodule
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: /usr/local/lib/python2.3/site-packages/cvisualmodule.so:
Undefined symbol "_ZTVN10__cxxabiv120__si_class_type_infoE"
Thank you for your time.
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
|