From: Brad M. <bon...@ma...> - 2005-04-12 02:57:36
|
Hello, I've been trying to get visual-3.1.1 to compile using the natively installed version of python under 10.3.8. I run into this compiler error when compiling frame.cpp. /opt/local/include/boost/python/object/py_function.hpp:38: instantiated from `PyObject* boost::python::objects::caller_py_function_impl<Caller>:: operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<visual::shared_vector&(visual:: Primitive::*)(), boost::python::return_internal_reference<1, boost::python::default_call_policies>, boost::mpl::vector2<visual::shared_vector&, visual::frame&> >]' /opt/local/include/boost/python/slice_nil.hpp:60: instantiated from here /opt/local/include/boost/python/detail/wrapper_base.hpp:64: error: cannot dynamic_cast `x' (of type `const volatile class visual::shared_vector*') to type `const volatile class boost::python::detail::wrapper_base*' (source type is not polymorphic) In looking at the Boost FAQ it appears that this may be a known problem with the gnu compiler on the mac. There is a cryptic workaround suggested, but I've tried that as best I can with no luck. Any suggestions, or should I just accept that I will need to use the fink version under X11? Thanks, Brad Brad Miller, PhD Assistant Professor Luther College http://www.cs.luther.edu/~bmiller jabber: bn...@ja... |