Boost logo

Boost Users :

From: Olaf (ope-devel_at_[hidden])
Date: 2007-07-18 09:28:43


> undefined reference to
> boost::signals::detail::signal_base::signal_base(boost::function2<bool,
> boost::any, boost::any, std::allocator<boost::function_base>> const &)
>
> Do I need to link in additional Boost libraries? What about this use of
> boost::any?

Following http://www.boost.org/doc/html/signals/tutorial.html#id1628486
you need to link against the library (statically or dynamically).

boost::any is only the template parameter from compiler's error message.

Regards,
Olaf


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