hey,
when trying to run a program using boost::signal i am getting a lot of
unresolved errors.
[output window]
--------------------Configuration: my_dlls - Win32
Release--------------------
Linking...
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall boost::signals::detail::signal_base::~signal_base(void)"
(??1signal_base@detail@signals@boost@@QAE@XZ)
delegate_main.obj : error LNK2001: unresolved external symbol "protected:
__thiscall boost::signals::trackable::~trackable(void)"
(??1trackable@signals@boost@@IAE@XZ)
delegate_main.obj : error LNK2001: unresolved external symbol "public: void
__thiscall boost::signals::connection::disconnect(void)const "
(?disconnect@connection@signals@boost@@QBEXXZ)
delegate_main.obj : error LNK2001: unresolved external symbol "protected:
void __thiscall boost::signals::detail::slot_base::create_connection(void)"
(?create_connection@slot_base@detail@signals@boost@@IAEXXZ)
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall boost::signals::detail::signal_base_impl::signal_base_impl(class
boost::function2 const &)"
(??0signal_base_impl@detail@signals@boost@@QAE@ABV?$function2@_NVany@boost@@
V12@Uempty_function_policy@2@Uempty_function_mixin@2@H@3@@Z)
delegate_main.obj : error LNK2001: unresolved external symbol "public: class
boost::signals::connection __thiscall
boost::signals::detail::signal_base_impl::connect_slot(class boost::any
const &,class boost::any const &,class std::vector > const &)"
(?connect_slot@signal_base_impl@detail@signals@boost@@QAE?AVconnection@34@AB
Vany@4@0ABV?$vector@PBVtrackable@signals@boost@@V?$allocator@PBVtracka
ble@signals@boost@@@std@@@std@@@Z)
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall
boost::signals::detail::call_notification::~call_notification(void)"
(??1call_notification@detail@signals@boost@@QAE@XZ)
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall
boost::signals::detail::call_notification::call_notification(class
boost::shared_ptr<class boost::signals::detail::signal_base_impl> const &)"
(??0call_notification@de
tail@signals@boost@@QAE@ABV?$shared_ptr@Vsignal_base_impl@detail@signals@boo
st@@@3@@Z)
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall
boost::signals::detail::signal_base_impl::~signal_base_impl(void)"
(??1signal_base_impl@detail@signals@boost@@QAE@XZ)
Release/my_dlls.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.
my_dlls.exe - 10 error(s), 0 warning(s)
[/output window]
so in semi-readable for these are the unresolved symbols:
signal_base::~signal_base(void)
trackable::~trackable(void)
void connection::disconnect(void)const
void slot_base::create_connection(void)
signal_base_impl::signal_base_impl(class boost::function2 const &)
connection signal_base_impl::connect_slot(class boost::any const &,class
boost::any const &,class std::vector >const &)
call_notification::~call_notification(void)
call_notification::call_notification(class boost::shared_ptr<class
boost::signals::detail::signal_base_impl> const &)
signal_base_impl::~signal_base_impl(void)
i downloaded the signals library out of the CVS Repository. i see that some
people have gotten signals to work so i guess i'm missing something=(
i like this lib a lot (and it saves me from coding it=), but i would have
went with a delegate/callback naming scheme instead of signal/slot. i guess
that's what
find and replace is for=).
michael graves ii