From: Bruce S. <Bru...@nc...> - 2006-08-10 18:20:20
|
4.beta5 is now downloadable from http://sourceforge.net/projects/visualpython Fixed many bugs. Documentation now included. The new example program texture_and_lighting.py displays many of the new features of version 4 created by Jonathan Brandmeyer (a swinging spotlight illuminates a translucent beach ball that rolls on a wood-texture table). In the "Recent developments" section of vpython.org you can read a summary of the new features, which is also included in the documentation contained in the release. This includes a description of remaining known bugs, some of which are serious, which means that you may enjoy playing with the exciting new features, but be aware that there are problems. I am not going to be able to do any more work on VPython for about three months, as the publisher of the physics textbook Ruth Chabay and I have written needs a second edition completed by November. Jonathan Brandmeyer has graduated from NCSU and is moving on to other things. So unless someone else steps forward, it is possible that this version 4 beta is frozen for several months. Bruce Sherwood |
From: Jaap S. <j....@hc...> - 2006-08-12 16:47:57
|
Bruce Sherwood wrote: > 4.beta5 is now downloadable from > http://sourceforge.net/projects/visualpython > Trying to install the 4.beta5 under SAGE (Software for Algebra and Geometry Experimentation), see http://modular.math.washington.edu/sage/index.html SAGE comes with its own Python, so I did the following configure: >> [root@paix buildbeta]# PYTHON=/usr/local/sage/local/bin/python ../visual-4.beta5/configure --prefix=/usr/local/sage/local >> >> [...] >> But the following make failed: >> [root@paix buildbeta]# make >> Making all in site-packages/visual >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' >> make[1]: Nothing to be done for `all'. >> make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' >> Making all in src >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/src' >> Compiling ../../visual-4.beta5/src/core/arrow.cpp ... >> Compiling ../../visual-4.beta5/src/core/axial.cpp ... >> Compiling ../../visual-4.beta5/src/core/box.cpp ... >> Compiling ../../visual-4.beta5/src/core/cone.cpp ... >> Compiling ../../visual-4.beta5/src/core/cylinder.cpp ... >> Compiling ../../visual-4.beta5/src/core/display_kernel.cpp ... >> Compiling ../../visual-4.beta5/src/core/ellipsoid.cpp ... >> Compiling ../../visual-4.beta5/src/core/frame.cpp ... >> Compiling ../../visual-4.beta5/src/core/label.cpp ... >> Compiling ../../visual-4.beta5/src/core/mouseobject.cpp ... >> Compiling ../../visual-4.beta5/src/core/primitive.cpp ... >> Compiling ../../visual-4.beta5/src/core/pyramid.cpp ... >> Compiling ../../visual-4.beta5/src/core/rectangular.cpp ... >> Compiling ../../visual-4.beta5/src/core/renderable.cpp ... >> Compiling ../../visual-4.beta5/src/core/ring.cpp ... >> Compiling ../../visual-4.beta5/src/core/sphere.cpp ... >> Compiling ../../visual-4.beta5/src/python/convex.cpp ... >> Compiling ../../visual-4.beta5/src/python/curve.cpp ... >> Compiling ../../visual-4.beta5/src/python/cvisualmodule.cpp ... >> Compiling ../../visual-4.beta5/src/python/faces.cpp ... >> Compiling ../../visual-4.beta5/src/python/num_util.cpp ... >> Compiling ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp ... >> make[1]: *** [num_util_impl_numarray.lo] Error 1 >> make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/src' >> make: *** [all-recursive] Error 1 >> [root@paix buildbeta]# >> >> >> >> >> But a 'make clean' and '../visual-4.beta5/configure' without arguments succeeded >> [root@paix buildbeta]# make >> Making all in site-packages/visual >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' >> make[1]: Nothing to be done for `all'. >> make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' >> Making all in src >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/src' >> Compiling ../../visual-4.beta5/src/core/arrow.cpp ... >> Compiling ../../visual-4.beta5/src/core/axial.cpp ... >> Compiling ../../visual-4.beta5/src/core/box.cpp ... >> Compiling ../../visual-4.beta5/src/core/cone.cpp ... >> Compiling ../../visual-4.beta5/src/core/cylinder.cpp ... >> Compiling ../../visual-4.beta5/src/core/display_kernel.cpp ... >> Compiling ../../visual-4.beta5/src/core/ellipsoid.cpp ... >> Compiling ../../visual-4.beta5/src/core/frame.cpp ... >> Compiling ../../visual-4.beta5/src/core/label.cpp ... >> Compiling ../../visual-4.beta5/src/core/mouseobject.cpp ... >> Compiling ../../visual-4.beta5/src/core/primitive.cpp ... >> Compiling ../../visual-4.beta5/src/core/pyramid.cpp ... >> Compiling ../../visual-4.beta5/src/core/rectangular.cpp ... >> Compiling ../../visual-4.beta5/src/core/renderable.cpp ... >> Compiling ../../visual-4.beta5/src/core/ring.cpp ... >> Compiling ../../visual-4.beta5/src/core/sphere.cpp ... >> Compiling ../../visual-4.beta5/src/python/convex.cpp ... >> Compiling ../../visual-4.beta5/src/python/curve.cpp ... >> Compiling ../../visual-4.beta5/src/python/cvisualmodule.cpp ... >> Compiling ../../visual-4.beta5/src/python/faces.cpp ... >> Compiling ../../visual-4.beta5/src/python/num_util.cpp ... >> Compiling ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp ... >> Compiling ../../visual-4.beta5/src/python/num_util_impl_numeric.cpp ... >> Compiling ../../visual-4.beta5/src/python/scalar_array.cpp ... >> [...] >> Compiling ../../visual-4.beta5/src/python/wrap_ustring.cpp ... >> Linking cvisualmodule.la ... >> Installing cvisualmodule.la to /home/jaap/downloads/buildbeta/site-packages/cvisualmodule.la >> [...] > Why? I don't understand what is going on. Jaap |
From: Jonathan B. <jbr...@ea...> - 2006-08-12 18:28:07
|
On Sat, 2006-08-12 at 18:47 +0200, Jaap Spies wrote: > Bruce Sherwood wrote: > > 4.beta5 is now downloadable from > > http://sourceforge.net/projects/visualpython > > > > Trying to install the 4.beta5 under SAGE (Software for Algebra and Geometry > Experimentation), see http://modular.math.washington.edu/sage/index.html > > SAGE comes with its own Python, so I did the following configure: > > >> [root@paix buildbeta]# PYTHON=/usr/local/sage/local/bin/python ../visual-4.beta5/configure --prefix=/usr/local/sage/local > >> > >> [...] > >> > > But the following make failed: > > >> [root@paix buildbeta]# make > >> Making all in site-packages/visual > >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' > >> make[1]: Nothing to be done for `all'. > >> make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/site-packages/visual' > >> Making all in src > >> make[1]: Entering directory `/home/jaap/work/downloads/buildbeta/src' > >> Compiling ../../visual-4.beta5/src/core/arrow.cpp ... > >> Compiling ../../visual-4.beta5/src/core/axial.cpp ... > >> Compiling ../../visual-4.beta5/src/core/box.cpp ... > >> Compiling ../../visual-4.beta5/src/core/cone.cpp ... > >> Compiling ../../visual-4.beta5/src/core/cylinder.cpp ... > >> Compiling ../../visual-4.beta5/src/core/display_kernel.cpp ... > >> Compiling ../../visual-4.beta5/src/core/ellipsoid.cpp ... > >> Compiling ../../visual-4.beta5/src/core/frame.cpp ... > >> Compiling ../../visual-4.beta5/src/core/label.cpp ... > >> Compiling ../../visual-4.beta5/src/core/mouseobject.cpp ... > >> Compiling ../../visual-4.beta5/src/core/primitive.cpp ... > >> Compiling ../../visual-4.beta5/src/core/pyramid.cpp ... > >> Compiling ../../visual-4.beta5/src/core/rectangular.cpp ... > >> Compiling ../../visual-4.beta5/src/core/renderable.cpp ... > >> Compiling ../../visual-4.beta5/src/core/ring.cpp ... > >> Compiling ../../visual-4.beta5/src/core/sphere.cpp ... > >> Compiling ../../visual-4.beta5/src/python/convex.cpp ... > >> Compiling ../../visual-4.beta5/src/python/curve.cpp ... > >> Compiling ../../visual-4.beta5/src/python/cvisualmodule.cpp ... > >> Compiling ../../visual-4.beta5/src/python/faces.cpp ... > >> Compiling ../../visual-4.beta5/src/python/num_util.cpp ... > >> Compiling ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp ... > >> make[1]: *** [num_util_impl_numarray.lo] Error 1 > >> make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/src' > >> make: *** [all-recursive] Error 1 > >> [root@paix buildbeta]# > >> Did configure properly detect the existence and availability of numarray? What is the actual error (it should be in src/build.log)? -Jonathan |
From: Jaap S. <j....@hc...> - 2006-08-12 19:18:44
|
Jonathan Brandmeyer wrote: > On Sat, 2006-08-12 at 18:47 +0200, Jaap Spies wrote: ... >>>>Compiling ../../visual-4.beta5/src/python/faces.cpp ... >>>>Compiling ../../visual-4.beta5/src/python/num_util.cpp ... >>>>Compiling ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp ... >>>>make[1]: *** [num_util_impl_numarray.lo] Error 1 >>>>make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/src' >>>>make: *** [all-recursive] Error 1 >>>>[root@paix buildbeta]# >>>> > > > Did configure properly detect the existence and availability of > numarray? What is the actual error (it should be in src/build.log)? > This is whar configure says about Python: >> checking whether /usr/local/sage/local/bin/python version >= 2.2... yes >> checking for /usr/local/sage/local/bin/python version... 2.4 >> checking for /usr/local/sage/local/bin/python platform... linux2 >> checking for /usr/local/sage/local/bin/python script directory... ${prefix}/lib/ python2.4/site-packages >> checking for /usr/local/sage/local/bin/python extension module directory... ${ex ec_prefix}/lib/python2.4/site-packages and numarray: >> checking for array in python module Numeric... yes >> checking for array in python module numarray... yes >> checking for headers required to compile python extensions... found >> checking for pkg-config... /usr/bin/pkg-config >> checking pkg-config is at least version 0.9.0... yes >> checking for GTK... yes >> checking for GTHREAD... yes >> checking where to install documentation... ${prefix}/lib/python2.4/site-packages /visual/docs >> checking whether to install html documentation... yes >> checking where to install example programs... ${prefix}/lib/python2.4/site-packa ges/visual/examples >> checking whether to install example programs... yes >> configure: creating ./config.status From the src/build.log: >> g++ -DHAVE_CONFIG_H -I../../visual-4.beta5/include -I..//include -I/usr/include/gtkglextmm-1.2 -I/usr/lib/gtkglextmm-1.2/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/lib/gtkglext-1.0/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/atk-1.0 -I/usr/include/atkmm-1.6 -I/usr/include/freetype2 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I../../visual-4.beta5/include/gtk2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/sage/local/include/python2.4 -fpic -DPIC -g -O2 -ftemplate-depth-120 -MMD -MF num_util_impl_numarray.d - MT "num_util_impl_numarray.d num_util_impl_numarray.lo" -c ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp -fPIC -DPIC -o .libs/num_util_impl_numarray.o >> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: expected type-specifier before ';' token >> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: abstract declarator 'PyObject*' used as declaration Version of 'numarray' is numeric-24.2 Jaap |
From: Jaap S. <j....@hc...> - 2006-08-12 20:10:09
|
Jonathan Brandmeyer wrote: > On Sat, 2006-08-12 at 18:47 +0200, Jaap Spies wrote: ... Forgot Numeric! >> checking for array in python module Numeric... yes >> checking for array in python module numarray... yes From the src/build.log: >> g++ -DHAVE_CONFIG_H -I../../visual-4.beta5/include -I..//include -I/usr/include/gtkglextmm-1.2 -I/usr/lib/gtkglextmm-1.2/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/lib/gtkglext-1.0/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/atk-1.0 -I/usr/include/atkmm-1.6 -I/usr/include/freetype2 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I../../visual-4.beta5/include/gtk2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/sage/local/include/python2.4 -fpic -DPIC -g -O2 -ftemplate-depth-120 -MMD -MF num_util_impl_numarray.d - MT "num_util_impl_numarray.d num_util_impl_numarray.lo" -c ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp -fPIC -DPIC -o .libs/num_util_impl_numarray.o >> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: expected type-specifier before ';' token >> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: abstract declarator 'PyObject*' used as declaration Version of 'numarray' is numeric-24.2, but also Numeric-1.4.1 is installed: < #define NUMARRAY_VERSION "1.5.1" < #define NUMARRAY_VERSION_HEX 0x01050100 --- > #define NUMARRAY_VERSION "1.4.1" > #define NUMARRAY_VERSION_HEX 0x01040100 diff /usr/include/python2.4/numarray/nummacro.h /usr/local/sage/local/include/python2.4/numarray/nummacro.h 27c27 < PyObject *oprator; /* ufunc name */ --- > PyObject *operator; /* ufunc name */ Jaap ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Martin C. <cos...@wa...> - 2006-08-12 20:41:26
|
Jaap Spies wrote: [] > > #define NUMARRAY_VERSION "1.4.1" > > #define NUMARRAY_VERSION_HEX 0x01040100 > diff /usr/include/python2.4/numarray/nummacro.h > /usr/local/sage/local/include/python2.4/numarray/nummacro.h That version of numarray was incompatible with C++ (they used the reserved word "operator" as variable name). Upgrade to 1.5.0 or later. -- Martin |