Carl Karsten wrote:
> "PythonMagick an object-oriented Python interface to ImageMagick."
> http://www.imagemagick.org/download/python/
>
> [EMAIL PROTECTED]:~/temp$ tar -xzvf PythonMagick-0.6.tar.gz

http://dev.personnelware.com/carl/temp/Aug25/a/PythonMagick/

one fo the files is:
SConstruct

from http://www.scons.org/doc/HTML/scons-user/book1.html

"SCons is a next-generation software construction tool, or make tool--that is, a software utility for building software (or other files) and keeping built software up-to-date whenever the underlying input files change."

$ sudo apt-get install scons libboost-python-dev libmagick++9-dev

now scons is building away...  then errors.  the key line seems to be:

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

here is the whole thing:

[EMAIL PROTECTED]:~/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/_DrawableFillRule.os pythonmagick_src/_DrawableFillRule.cpp 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/_PathMovetoAbs.os pythonmagick_src/_PathMovetoAbs.cpp 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/_DrawableText.os pythonmagick_src/_DrawableText.cpp 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.

Anyone have a clue?

Carl K

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to