Boost logo

Boost Users :

From: Michel Valstar (Michel.Valstar_at_[hidden])
Date: 2007-10-10 14:31:17


Hello,

I am trying to build code of a recently graduated student, who is now
unavailable to us (read: ignores us). When running scons in the appropriate
directory, a lot gets build, until I get the following error:

/usr/include/boost/python/object/make_holder.hpp:81: error: 'allocate' is
not a member of 'boost::python::objects::value_holder<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
State> >'
/usr/include/boost/python/object/make_holder.hpp:83: error: no matching
function for call to 'boost::python::objects::value_holder<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
State> >::value_holder(int*&)'
/usr/include/boost/python/object/value_holder.hpp:44: note: candidates are:
boost::python::objects::value_holder<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, State> >::value_holder()
/usr/include/boost/python/object/value_holder.hpp:44: note:
boost::python::objects::value_holder<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, State> >::value_holder(const
boost::python::objects::value_holder<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, State> >&)
scons: *** [trackerbase/trackerbasewrapper.os] Error 1
scons: building terminated because of errors.

This does not seem to be an error in his own code, rather an error in the
boost.python code? This is the first time I am using boost, and, as usual, I
need to get this program working yesterday.

My machine is a recently installed Ubuntu Feisty (hence the need for
re-compilation). I am using the latest version of Boost (boost_1_34_1) and
python 2.5.1

Any help would be appreciated.

Thanks,

MIchel

-- 
Michel Valstar, PhD candidate
http://www.doc.ic.ac.uk/~mvalstar
Department of Computing
Imperial College London
180 Queens' Gate
London SW7 2AZ, U.K.
tel.: +44 20 7594 8225
fax: +44 20 7581 8024


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