From: Siddhardh c. <sid...@gm...> - 2008-12-10 00:01:53
|
I am getting the following error while trying to compile Visual 5 on my linux machine. * 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>::ope rator()(const boost::python::detail::exception_handler&, const boost::function 0<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 *Compiler - gcc 4.3.2 Distro - Arch Linux(x86_64) Python 2.6.1 |