Hi, We are trying to use the libboost_python.so library in Linux with our project. When we try to compile the C++ file of our project having all the boost interfaces, we get the following compilation error only on Linux. Although on Windows it works fine. We are using the Python 2.2.3 and Boost 1.30.2 versions. /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr Please help, Regards, Mayank
mayankg@iiitb.ac.in writes:
Hi, We are trying to use the libboost_python.so library in Linux with our project. When we try to compile the C++ file of our project having all the boost interfaces, we get the following compilation error only on Linux. Although on Windows it works fine. We are using the Python 2.2.3 and Boost 1.30.2 versions.
/usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr /usr/include/boost/python/converter/as_to_python_function.hpp:28: sorry, unimplemented: ` method_call_expr' not supported by dump_expr
It's a compiler bug. I suggest you upgrade your compiler to a more recent GCC release. Upgrading to the latest Boost (1.31.0) may also help. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
mayankg@iiitb.ac.in