求助:Mac OS X Qt5上用Boost库编译出错
我在 Windows10 with Qt5.6编译了一个地学开源软件GPlates通了,然后移到 MacBook Pro OS X with Qt 5.6后编译时出了下面的问题:
Function:
typedef boost::function< Layer (const boost::shared_ptr<ReconstructGraphImpl::Layer>) >
make_layer_fn_type;
const_iterator begin() const
{
return boost::make_transform_iterator(d_layers.begin(),
make_layer_fn_type(boost::lambda::constructor<Layer>()));
}
Errors:
/usr/local/include/boost/function/function_template.hpp:138: error: no matching function for call to object of type 'boost::lambda::constructor<GPlatesAppLogic::Layer>'
return (*f)(BOOST_FUNCTION_ARGS);
哪位高手看一下是什么问题。