From: Bruce S. <Bru...@nc...> - 2009-12-23 01:01:44
|
That's very good news! I'm copying this to the VPython list. Thanks. Bruce Sherwood chu-ching huang wrote: > Dear Bruce, > > After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ > read-only" error was gone and visual works with Python-2.6.4 in my slax linux > (slackware clone). > > Best regards, > > cch > > > |
From: Bruce S. <Bru...@nc...> - 2009-12-23 18:21:14
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Now available at vpython.org is a version of Visual that works with Python 2.6.4 as well as with Python 2.6.2. What was needed was the new Boost 1.41 libraries on which Visual depends for connections between Python and C++. Work is proceeding for the Mac. For Linux, it should be sufficient simply to compile with Boost 1.41, I would assume.<br> <br> Bruce Sherwood<br> <br> Bruce Sherwood wrote: <blockquote cite="mid:262...@nc..." type="cite"> <pre wrap="">That's very good news! I'm copying this to the VPython list. Thanks. Bruce Sherwood chu-ching huang wrote: </pre> <blockquote type="cite"> <pre wrap="">Dear Bruce, After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ read-only" error was gone and visual works with Python-2.6.4 in my slax linux (slackware clone). Best regards, cch </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |
From: Bruce S. <Bru...@nc...> - 2009-12-24 03:53:43
|
I built Boost 1_41_0 on an Intel Mac with Python 2.6.4 installed on Snow Leopard (OSX 10.6). Because with 10.6 the default for compiling is 64-bit, and the Carbon component of Visual is supported only for 32-bit programs, I specified 32-bit compilation when building Boost and when building Visual. When I try to build Visual, I get errors in compiling render_manager.cpp: from ../vpython-core2//src/core/util/render_manager.cpp:4: ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:29: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:30: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:31: error: expected primary-expression before ‘)’ token ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:40: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:41: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:42: error: expected primary-expression before ‘)’ token Below is the start of the file "diagnostic_information.hpp" with line numbers 29 and 40 indicated. Can someone with good Mac and/or C++ skills suggest a fix or workaround? I did Google around a bit without finding anything about this problem. Bruce Sherwood --------------------------------- //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef UUID_0552D49838DD11DD90146B8956D89593 #define UUID_0552D49838DD11DD90146B8956D89593 #include <boost/config.hpp> #include <boost/exception/get_error_info.hpp> #include <boost/exception/detail/exception_ptr_base.hpp> #include <boost/utility/enable_if.hpp> #include <exception> #include <sstream> #include <string> namespace boost { namespace exception_detail { template <class T> struct enable_boost_exception_overload { struct yes { char q[100]; }; typedef char no; static yes check(exception const *); // line 29 static no check(...); enum e { value=sizeof(check((T*)0))==sizeof(yes) }; }; template <class T> struct enable_std_exception_overload { struct yes { char q[100]; }; typedef char no; static yes check(std::exception const *); // line 40 static no check(...); enum e { value = !enable_boost_exception_overload<T>::value && sizeof(check((T*)0))==sizeof(yes) }; }; |
From: Stef M. <s.m...@ru...> - 2009-12-23 07:20:33
|
Bruce Sherwood wrote: > That's very good news! I'm copying this to the VPython list. Thanks. > +1 thanks very much, Stef > Bruce Sherwood > > chu-ching huang wrote: > >> Dear Bruce, >> >> After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ >> read-only" error was gone and visual works with Python-2.6.4 in my slax linux >> (slackware clone). >> >> Best regards, >> >> cch >> >> >> >> > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |