Boost logo

Boost Users :

From: michael graves ii (yg-boost-users_at_[hidden])
Date: 2002-08-08 09:33:20


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_at_detail@signals_at_boost@@QAE_at_XZ)
delegate_main.obj : error LNK2001: unresolved external symbol "protected:
__thiscall boost::signals::trackable::~trackable(void)"
(??1trackable_at_signals@boost@@IAE_at_XZ)
delegate_main.obj : error LNK2001: unresolved external symbol "public: void
__thiscall boost::signals::connection::disconnect(void)const "
(?disconnect_at_connection@signals_at_boost@@QBEXXZ)
delegate_main.obj : error LNK2001: unresolved external symbol "protected:
void __thiscall boost::signals::detail::slot_base::create_connection(void)"
(?create_connection_at_slot_base_at_detail@signals_at_boost@@IAEXXZ)
delegate_main.obj : error LNK2001: unresolved external symbol "public:
__thiscall boost::signals::detail::signal_base_impl::signal_base_impl(class
boost::function2<bool,class boost::any,class boost::any,struct
boost::empty_function_policy,struct boo
st::empty_function_mixin,int> const &)"
(??0signal_base_impl_at_detail@signals_at_boost@@QAE_at_ABV?$function2@_NVany_at_boost@@
V12_at_Uempty_function_policy_at_2@Uempty_function_mixin_at_2@H_at_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<class boost
::signals::trackable const *,class std::allocator<class
boost::signals::trackable const *> > const &)"
(?connect_slot_at_signal_base_impl_at_detail@signals_at_boost@@QAE?AVconnection_at_34@AB
Vany_at_4@0ABV?$vector_at_PBVtrackable@signals_at_boost@@V?$allocator_at_PBVtracka
ble_at_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_at_detail@signals_at_boost@@QAE_at_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_at_de
tail_at_signals@boost@@QAE_at_ABV?$shared_ptr_at_Vsignal_base_impl_at_detail@signals_at_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_at_detail@signals_at_boost@@QAE_at_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<bool,class
boost::any,class boost::any,struct boost::empty_function_policy,struct
boost::empty_function_mixin,int> const &)
    connection signal_base_impl::connect_slot(class boost::any const &,class
boost::any const &,class std::vector<class boost::signals::trackable const
*,class std::allocator<class boost::signals::trackable const *> >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


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