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 |
From: James P. R. <u32...@an...> - 2004-05-10 04:03:10
|
I've run vpython on freebsd, and I had those exact same problems. That was a big reason for me switching back to linux. Later in the year I was intending on installing FreeBSD to investigate the problem further, but until then I don't really have the time. James |
From: Jonathan B. <jbr...@ea...> - 2004-05-10 12:53:02
Attachments:
bsdtest.cpp
|
Can you please compile and run the attached program? It opens a single window within which you can click. Click within the window with various mouse buttons and observe whether or not you see messages printed to standard output when you do. Compile this with "g++ -o bsdtest bsdtest.cpp `pkg-config --cflags --libs gtk+` -lGL -lGLU -lgtkgl" and run it with no arguments. Thanks, -Jonathan Brandmeyer |
From: Lee H. <mi...@ho...> - 2004-05-12 00:33:37
|
>>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 went back to gcc 2.95.4 and made this change, but get the same error. Now using gcc 3.3.4 it compiles for a while, and then I get this in the cvisual/build.log ... gcc33 -I/usr/local/include/python2.3 -DHAVE_CONFIG_H -I/usr/local/include/glib12 -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -I/usr/local/include/glib12 -I. -I. -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -c vector.cpp -fPIC -DPIC -DPIC -o vector.o gcc33: Internal error: Killed (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. I could swear it built just fine before... so I am not sure what changed. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |