|
Boost Users : |
Subject: [Boost-users] linking to boost signal library
From: Jürgen Waser (jwaser_at_[hidden])
Date: 2008-10-28 14:19:32
I'm trying to incorporate BOOST signals into my vc8 project.
I have built the dynamic libraries with the installer and set the
project dependencies accordingly.
I have written the simplest signal test code possible.
The project compiles, but when linking I get the following error:
1>Linking...
1> Creating library c:\SIM\views\views\x64\Debug\viewsDebugx64.lib and
object c:\SIM\views\views\x64\Debug\viewsDebugx64.exp
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of
other libs; use /NODEFAULTLIB:library
1>Test.obj : error LNK2019: unresolved external symbol "public: __cdecl
boost::signals::detail::call_notification::~call_notification(void)"
(??1call_notification_at_detail@signals_at_boost@@QEAA_at_XZ) referenced in
function "public: void __cdecl boost::signal1<void,bool,struct
boost::last_value<void>,int,struct std::less<int>,class
boost::function<void __cdecl(bool)> >::operator()(bool)"
(??R?$signal1_at_X_NU?$last_value_at_X@boost@@HU?$less_at_H@std@@V?$function@$$A6AX_N_at_Z@2@@boost@@QEAAX_N_at_Z)
1>Test.obj : error LNK2019: unresolved external symbol "public: class
boost::signals::detail::named_slot_map_iterator __cdecl
boost::signals::detail::named_slot_map::begin(void)"
(?begin_at_named_slot_map_at_detail@signals_at_boost@@QEAA?AVnamed_slot_map_iterator_at_234@XZ)
referenced in function "public: void __cdecl
boost::signal1<void,bool,struct boost::last_value<void>,int,struct
std::less<int>,class boost::function<void __cdecl(bool)>
>::operator()(bool)"
(??R?$signal1_at_X_NU?$last_value_at_X@boost@@HU?$less_at_H@std@@V?$function@$$A6AX_N_at_Z@2@@boost@@QEAAX_N_at_Z)
1>Test.obj : error LNK2019: unresolved external symbol "public: class
boost::signals::detail::named_slot_map_iterator __cdecl
boost::signals::detail::named_slot_map::end(void)"
(?end_at_named_slot_map_at_detail@signals_at_boost@@QEAA?AVnamed_slot_map_iterator_at_234@XZ)
referenced in function "public: void __cdecl
boost::signal1<void,bool,struct boost::last_value<void>,int,struct
std::less<int>,class boost::function<void __cdecl(bool)>
>::operator()(bool)"
(??R?$signal1_at_X_NU?$last_value_at_X@boost@@HU?$less_at_H@std@@V?$function@$$A6AX_N_at_Z@2@@boost@@QEAAX_N_at_Z)
1>Test.obj : error LNK2019: unresolved external symbol "public: __cdecl
boost::signals::detail::call_notification::call_notification(class
boost::shared_ptr<class boost::signals::detail::signal_base_impl> const
&)"
(??0call_notification_at_detail@signals_at_boost@@QEAA_at_AEBV?$shared_ptr_at_Vsignal_base_impl_at_detail@signals_at_boost@@@3@@Z)
referenced in function "public: void __cdecl
boost::signal1<void,bool,struct boost::last_value<void>,int,struct
std::less<int>,class boost::function<void __cdecl(bool)>
>::operator()(bool)"
(??R?$signal1_at_X_NU?$last_value_at_X@boost@@HU?$less_at_H@std@@V?$function@$$A6AX_N_at_Z@2@@boost@@QEAAX_N_at_Z)
1>c:\SIM\views\views\x64\Debug\viewsDebugx64.dll : fatal error LNK1120:
4 unresolved externals
1>Build log was saved at "file://c:\SIM\views\views\x64\Debug\BuildLog.htm"
1>views - 5 error(s), 1 warning(s)
What could I be doing wrong?
Thanks,
Jurgen
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