Boost logo

Boost :

From: Carl Karsten (carl_at_[hidden])
Date: 2006-08-28 10:02:46


I posted this on 8/26 to the news server, got the "you need to authorize"
message, replied, but still haven't seen my post. So here it is posted to the
mail list. Sorry if it is a dupe.

C
-------------

I am not sure who's problem this is:

trying to build PythonMagick, get an error, guessing this is the key:

/usr/include/boost/python/converter/registered.hpp:88: error: no matching
function for call to 'registry_lookup(const volatile void (*)())'

carl_at_vaio:~/temp/PythonMagick$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -fPIC -DBOOST_PYTHON_STATIC_LIB -O2 -I/usr/local/include/boost-1_32
-I/usr/include/python2.4 -I/usr/include -c -o pythonmagick_src/_Blob.os
pythonmagick_src/_Blob.cpp
/usr/include/boost/python/converter/registered.hpp: In instantiation of 'const
boost::python::converter::registration&
boost::python::converter::detail::registered_base<const volatile void>::converters':
/usr/include/boost/python/converter/arg_from_python.hpp:269: instantiated from
'boost::python::converter::pointer_arg_from_python<T>::pointer_arg_from_python(PyObject*)
[with T = void*]'
/usr/include/boost/python/arg_from_python.hpp:70: instantiated from
'boost::python::arg_from_python<T>::arg_from_python(PyObject*) [with T = void*]'
/usr/include/boost/preprocessor/iteration/detail/local.hpp:37: instantiated
from 'PyObject* boost::python::detail::caller_arity<3u>::impl<F, Policies,
Sig>::operator()(PyObject*, PyObject*) [with F = void (*)(Magick::Blob&, void*,
unsigned int), Policies = boost::python::default_call_policies, Sig =
boost::mpl::vector4<void, Magick::Blob&, void*, unsigned int>]'
/usr/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<void (*)(Magick::Blob&,
void*, unsigned int), boost::python::default_call_policies,
boost::mpl::vector4<void, Magick::Blob&, void*, unsigned int> >]'
pythonmagick_src/_Blob.cpp:43: instantiated from here
/usr/include/boost/python/converter/registered.hpp:88: error: no matching
function for call to 'registry_lookup(const volatile void (*)())'
scons: *** [pythonmagick_src/_Blob.os] Error 1
scons: building terminated because of errors.

Carl K


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk