|
From: Jonathan B. <jbr...@ea...> - 2004-04-07 23:43:48
|
This release corrects bugs found in the 2.9.0 release: display.kb.getkey() was inadvertently renamed display.kb.getkeys() (corrected). Thanks to James Roper for finding this bug. Implicit and explicit conversion from two-tuples to vectors left the z component of the resulting vector undefined. On some builds this would be unnoticeable (setting z to some very small number close to zero) and on others it would set z to be some very large number. The instructions for building from source have been corrected in a few places. See INSTALL.txt in the source tarball for details. The Windows download does not include the leading drive letter in the filenames, which cause problems for some people. Actually, I "fixed" this some time ago, but the resulting upload was found later to be corrupt. The new downloads may be found at http://www4.ncsu.edu/~jdbrandm/. -Jonathan Brandmeyer |
|
From: Andrew D. <dou...@la...> - 2004-04-08 17:56:53
|
When I run the graphtest.py demo (or actually any program using gdisplay),
I get the regular 'Graph' window with the demo, but I also
seem to always get a second, unused window labeled 'VPython'.
Does anyone else see this?
--
Andy Dougherty dou...@la...
Dept. of Physics
Lafayette College, Easton PA 18042
|
|
From: Bruce S. <bas...@un...> - 2004-04-08 18:40:08
|
Is this with the experimental Boost-based VPython that Jonathan Brandmeyer recently released? This is a known bug, and he's working on it. Bruce Sherwood Andrew Dougherty wrote: > When I run the graphtest.py demo (or actually any program using gdisplay), > I get the regular 'Graph' window with the demo, but I also > seem to always get a second, unused window labeled 'VPython'. > > Does anyone else see this? > |
|
From: Andrew D. <dou...@la...> - 2004-04-08 19:36:24
|
On Thu, 8 Apr 2004, Bruce Sherwood wrote:
> Is this with the experimental Boost-based VPython that Jonathan
> Brandmeyer recently released? This is a known bug, and he's working on it.
Yup, the 2.9.1 experimental release. I just wanted to make sure it wasn't
a local problem on my end.
So far, all my other programs have worked just fine with the new
Boost-based version, so it's looking pretty nice!
--
Andy Dougherty dou...@la...
Dept. of Physics
Lafayette College, Easton PA 18042
|
|
From: Jonathan B. <jbr...@ea...> - 2004-04-08 19:58:09
|
On Thu, 2004-04-08 at 14:40, Bruce Sherwood wrote: > Is this with the experimental Boost-based VPython that Jonathan > Brandmeyer recently released? This is a known bug, and he's working on it. > > Bruce Sherwood > > Andrew Dougherty wrote: > > > When I run the graphtest.py demo (or actually any program using gdisplay), > > I get the regular 'Graph' window with the demo, but I also > > seem to always get a second, unused window labeled 'VPython'. > > > > Does anyone else see this? > > I've checked in a patch for this bug to CVS, it will be released soon. -Jonathan Brandmeyer |
|
From: Andrew D. <dou...@la...> - 2004-04-08 18:47:31
|
On Wed, 7 Apr 2004, Jonathan Brandmeyer wrote:
> This release corrects bugs found in the 2.9.0 release:
Nice. Thanks. I ran into a few glitches while trying to build this on a
Debian Linux/SPARC64 system. I've enclosed suggested patches (apply with
patch -p1 -N).
The changes are:
INSTALL.txt:
1. Debian's "Testing", unfortunately, has python2.3, but only
Boost 1.30.2. I put in some notes to that effect. If it's too much
or too verbose, go ahead and adjust it to taste.
2. Using PYTHONPATH and --prefix to install somewhere safe and out of
the way only works if PYTHONPATH already exists. I didn't think
configure should do that (because you might need to be root to
make the directory) so I just put in an explicit instruction.
3. I fixed a few trivial typos.
configure.ac:
1. If compilation of a program with #include <Python.h> fails, the
most likely reason is that Python.h doesn't exist, but there could also be
other local configuration errors. (In my case, there was a
bit of 32-bit/64-bit confusion in python's pyport.h header.) I've
suggested a somewhat more general message.
cvisual/Makefile.in:
1. The 'make install' step will fail if $prefix/bin doesn't exist
already. I added in a conditional mkdir -p command. (I
vaguely recall that mkdir -p is not completely portable, but probably
should be ok everywhere that VPython is likely to be installed.)
diff -r -u visual-2.9.1/INSTALL.txt visual-2.9.1-andy/INSTALL.txt
--- visual-2.9.1/INSTALL.txt 2004-04-07 16:28:55.000000000 -0400
+++ visual-2.9.1-andy/INSTALL.txt 2004-04-08 13:22:48.000000000 -0400
@@ -91,6 +91,11 @@
libgtk1.2-dev
g++-3.2 (or g++-3.3).
libboost-python-dev
+
+ (As of April 8, 2004, Debian's "testing" distribution only contains
+ Boost libraries version 1.30.2. You can either try installing
+ 1.31.0 yourself or use the python2.2 packages. You'll need
+ python2.2-dev, python2.2-numeric, and python2.2-tk.)
Users of Debian Woody and derivatives will need to obtain backports
of the above from (eg.) www.backports.org.
@@ -156,7 +161,8 @@
simultaneously. After choosing an approprate prefix, such as /home/jonathan, run
configure as normally but specify the PYTHONPATH environment variable to be
[prefix]/lib/python2.3/site-packages, replacing python2.3 with python2.2 if that
- is your interpreter.
+ is your interpreter. You must create this PYTHONPATH directory if it doesn't
+ already exist.
III. Build
@@ -174,9 +180,9 @@
the CXXFLAGS variable.
The Makefiles support the following targets:
- all: (the default) compiles are required software
+ all: (the default) compiles all the required software
clean: deletes files created by the compiler
- distclean: deltes all files created by the configure and make programs. This
+ distclean: deletes all files created by the configure and make programs. This
option is useful if you want to start over from a clean source tree.
install: copies all required files in the locations specified by configure
install-strip: Performs the 'install' target and strips the final object files.
diff -r -u visual-2.9.1/configure.ac visual-2.9.1-andy/configure.ac
--- visual-2.9.1/configure.ac 2004-04-07 16:18:45.000000000 -0400
+++ visual-2.9.1-andy/configure.ac 2004-04-08 10:28:10.000000000 -0400
@@ -29,7 +29,7 @@
AM_CHECK_PYTHON_HEADERS([], [
- AC_MSG_ERROR([A suitable python interpreter was found, but you do not have the header files required for building C/C++ extensions to python.])])
+ AC_MSG_ERROR([A suitable python interpreter was found, but you do not have the header files required for building C/C++ extensions to python, or another problem was encountered compiling a program that includes <Python.h>.])])
dnl Copied from the official gtk+-2 configure.in
AC_MSG_CHECKING([for some Win32 platform])
diff -r -u visual-2.9.1/cvisual/Makefile.in visual-2.9.1-andy/cvisual/Makefile.in
--- visual-2.9.1/cvisual/Makefile.in 2004-04-07 16:18:46.000000000 -0400
+++ visual-2.9.1-andy/cvisual/Makefile.in 2004-04-08 11:22:35.000000000 -0400
@@ -22,6 +22,9 @@
CXXDEPMODE = @CXXDEPMODE@
STRIP = @STRIP@
+# Program to be determined by configure
+MKDIR_P = mkdir -p
+
# System configurable variables determined by configure
PYTHON_INCLUDES = @PYTHON_INCLUDES@
PYTHON_PREFIX = @PYTHON_PREFIX@
@@ -247,6 +250,8 @@
@echo $(LIBTOOL) --mode=install $(INSTALL) $< $(DESTDIR)$(pythondir)/$< \
>> $(LOGFILE)
@$(LIBTOOL) --mode=install $(INSTALL) $< $(DESTDIR)$(pythondir)/$<
+ @echo test -d $(DESTDIR)$(bindir) || $(MKDIR_P) $(DESTDIR)$(bindir) >> $(LOGFILE)
+ @test -d $(DESTDIR)$(bindir) || $(MKDIR_P) $(DESTDIR)$(bindir)
@echo $(INSTALL) -m 755 vpython $(DESTDIR)$(bindir)/vpython >> $(LOGFILE)
@$(INSTALL) -m 755 vpython $(DESTDIR)$(bindir)/vpython
else
--
Andy Dougherty dou...@la...
Dept. of Physics
Lafayette College, Easton PA 18042
|