catkin_make error on boost::bind during synchronizer callback
I am getting an error related to boost when trying to time synchronize two images from topics. It is showing an error in the boost::bind function during callback which i am not sure how to correct it.
A portion of the build output is listed below:
/usr/include/boost/bind/mem_fn_template.hpp: In instantiation of ‘R boost::_mfi::mf2<R, T, A1, A2>::call(U&, const void*, B1&, B2&) const [with U = StereoGrabber (*)(); B1 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >; B2 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >; R = void; T = StereoGrabber; A1 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&; A2 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&]’:
/usr/include/boost/bind/mem_fn_template.hpp:286:46: required from ‘R boost::_mfi::mf2<R, T, A1, A2>::operator()(U&, A1, A2) const [with U = StereoGrabber (*)(); R = void; T = StereoGrabber; A1 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&; A2 = const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&]’
/usr/include/boost/bind/bind.hpp:392:34: required from ‘void boost::_bi::list3<A1, A2, A3>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = boost::_mfi::mf2<void, StereoGrabber, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&>; A = boost::_bi::list9<const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&>; A1 = boost::_bi::value<StereoGrabber (*)()>; A2 = boost::arg<1>; A3 = boost::arg<2>]’
/usr/include/boost/bind/bind_template.hpp:305:59: required from ‘boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&) [with A1 = boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >; A2 = boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >; A3 = boost::shared_ptr<const message_filters::NullType>; A4 = boost::shared_ptr<const message_filters::NullType>; A5 = boost::shared_ptr<const message_filters::NullType>; A6 = boost::shared_ptr<const message_filters::NullType>; A7 = boost::shared_ptr<const message_filters::NullType>; A8 = boost::shared_ptr<const message_filters::NullType>; A9 = boost::shared_ptr<const message_filters::NullType>; R = void; F = boost::_mfi::mf2<void, StereoGrabber, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&>; L = boost::_bi::list3<boost::_bi::value<StereoGrabber (*)()>, boost::arg<1>, boost::arg<2> >; boost::_bi::bind_t<R, F, L>::result_type = void]’
/usr/include/boost/bind/bind.hpp:827:34: required from ‘void boost::_bi::list9<A1, A2, A3, A4, A5, A6, A7, A8, A9>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = boost::_bi::bind_t<void, boost::_mfi::mf2<void, StereoGrabber, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&>, boost::_bi::list3<boost::_bi::value<StereoGrabber (*)()>, boost::arg<1>, boost::arg<2> > >; A = boost::_bi::list9<const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Image_<std::allocator<void> > >&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const ...