My best guess would be some kind of mismatch between the Boost libraries
and the version of Python you're building for.
But in any case, I would encourage you to set this aside for now,
because we're about to release Visual 5, which makes this beta version
obsolete. See the comments relevant to this in "Recent Developments" at
vpython.org.
Bruce Sherwood
Siddhardh chandra wrote:
> Hi,
> I am unable to compile the latest beta version of vpython. I am
> experiencing the following errors.
> *
> In file included from /usr/include/boost/python/exception_translator.hpp:12,
> from ./python/cvisualmodule.cpp:11:
> /usr/include/boost/python/detail/translate_exception.hpp:34: error:
> expected nested-name-specifier before 'add_reference'
> /usr/include/boost/python/detail/translate_exception.hpp:34: error:
> expected ';' before '<' token
> /usr/include/boost/python/detail/translate_exception.hpp: In member
> function 'bool boost::python::detail::translate_exception<ExceptionType,
> Translate>::operator()(const boost::python::detail::exception_handler&,
> const boost::function0<void>&, typename
> boost::call_traits<Translate>::param_type) const':
> /usr/include/boost/python/detail/translate_exception.hpp:56: error:
> expected type-specifier before 'exception_cref'
> /usr/include/boost/python/detail/translate_exception.hpp:56: error:
> expected `)' before 'e'
> /usr/include/boost/python/detail/translate_exception.hpp:56: error:
> expected `{' before 'e'
> /usr/include/boost/python/detail/translate_exception.hpp:56: error: 'e'
> was not declared in this scope
> /usr/include/boost/python/detail/translate_exception.hpp:56: error:
> expected `;' before ')' token
> *
> Could someone please help me understand what is wrong and how to correct
> it? Thanks.
>
> Siddhardh
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|