Boost logo

Boost Users :

Subject: [Boost-users] cgal python compilation with boost
From: Ferdi Zoet (apfzoet_at_[hidden])
Date: 2011-05-07 10:03:11


dear boost user,

there seems to be an error when I am trying to compile cgal-python.

============================================================================

103-99:cgal-python-0.9.4-beta1 2 FerdiZoet$ make
=======================================================
Compiling of CGAL package
Be patient this may take a while
=======================================================
Compiling All_files_at_once.cpp
In file included from All_files_at_once.cpp:30:
/opt/local/include/boost/python/detail/invoke.hpp: In function ‘PyObject* boost::python::detail::invoke(boost::python::detail::invoke_tag_<false, true>, const RC&, F&, TC&, AC0&) [with RC = boost::python::detail::specify_a_return_value_policy_to_wrap_functions_returning<const CGAL::Point_3<CGAL::Epeck>&>, F = const CGAL::Point_3<CGAL::Epeck>& (CGAL::Triangle_3<CGAL::Epeck>::*)(int)const, TC = boost::python::arg_from_python<CGAL::Triangle_3<CGAL::Epeck>&>, AC0 = boost::python::arg_from_python<int>]’:
/opt/local/include/boost/python/detail/caller.hpp:223: instantiated from ‘PyObject* boost::python::detail::caller_arity<2u>::impl<F, Policies, Sig>::operator()(PyObject*, PyObject*) [with F = const CGAL::Point_3<CGAL::Epeck>& (CGAL::Triangle_3<CGAL::Epeck>::*)(int)const, Policies = boost::python::default_call_policies, Sig = boost::mpl::vector3<const CGAL::Point_3<CGAL::Epeck>&, CGAL::Triangle_3<CGAL::Epeck>&, int>]’
/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<const CGAL::Point_3<CGAL::Epeck>& (CGAL::Triangle_3<CGAL::Epeck>::*)(int)const, boost::python::default_call_policies, boost::mpl::vector3<const CGAL::Point_3<CGAL::Epeck>&, CGAL::Triangle_3<CGAL::Epeck>&, int> >]’
Py_global_functions_2.cpp:171: instantiated from here
/opt/local/include/boost/python/detail/invoke.hpp:88: error: no match for call to ‘(const boost::python::detail::specify_a_return_value_policy_to_wrap_functions_returning<const CGAL::Point_3<CGAL::Epeck>&>) (const CGAL::Point_3<CGAL::Epeck>&)’
/opt/local/include/boost/python/detail/caller.hpp: In static member function ‘static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::detail::specify_a_return_value_policy_to_wrap_functions_returning<const CGAL::Point_3<CGAL::Epeck>&>]’:
/opt/local/include/boost/python/detail/caller.hpp:242: instantiated from ‘static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<2u>::impl<F, Policies, Sig>::signature() [with F = const CGAL::Point_3<CGAL::Epeck>& (CGAL::Triangle_3<CGAL::Epeck>::*)(int)const, Policies = boost::python::default_call_policies, Sig = boost::mpl::vector3<const CGAL::Point_3<CGAL::Epeck>&, CGAL::Triangle_3<CGAL::Epeck>&, int>]’
/opt/local/include/boost/python/object/py_function.hpp:48: instantiated from ‘boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<const CGAL::Point_3<CGAL::Epeck>& (CGAL::Triangle_3<CGAL::Epeck>::*)(int)const, boost::python::default_call_policies, boost::mpl::vector3<const CGAL::Point_3<CGAL::Epeck>&, CGAL::Triangle_3<CGAL::Epeck>&, int> >]’
Py_global_functions_2.cpp:171: instantiated from here
/opt/local/include/boost/python/detail/caller.hpp:102: error: ‘struct boost::python::detail::specify_a_return_value_policy_to_wrap_functions_returning<const CGAL::Point_3<CGAL::Epeck>&>’ has no member named ‘get_pytype’
make[1]: *** [All_files_at_once.o] Error 1
make: *** [all] Error 2

============================================================================

anybody an idea? thanks.

kind regards,

Ferdi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net