Boost logo

Boost :

From: Olivier Prat (Olivier.Prat_at_[hidden])
Date: 2003-04-29 08:18:08

Hello, I’m using boost ::threads and boost ::signals with Visual C++ 7.0 and
I have these damn link errors that I can’t remove:


error LNK2019: unresolved external symbol "__declspec(dllimport) public:
__thiscall boost::thread::thread(class boost::function0<void,class
_STL::allocator<class boost::function_base> > const &)"


error LNK2019: unresolved external symbol "__declspec(dllimport) public:
__thiscall boost::signals::detail::signal_base::signal_base(class
boost::function2<bool,class boost::any,class boost::any,class
_STL::allocator<class boost::function_base> > const &)"


error LNK2019: unresolved external symbol "__declspec(dllimport) public:
class boost::signals::connection __thiscall
boost::signals::detail::signal_base_impl::connect_slot(class boost::any
const &,class boost::any const &,class _STL::vector<class
boost::signals::trackable const *,class _STL::allocator<class
boost::signals::trackable const *> > const &)"


error LNK2019: symbole externe non résolu "__declspec(dllimport) public:
class _STL::vector<class boost::signals::trackable const *,class
_STL::allocator<class boost::signals::trackable const *> > & __thiscall
boost::signals::detail::slot_base::get_bound_objects(void)const "


I’ve compiled the boost libs with bjam and the vc7 toolset (I’ve tried with
msvc and msvc-stlport, since I use STLport and the result is the same). The
weird thing is that I call other methods on thread (join() for example) that
are properly linked. My project uses the multithreaded DLL runtime
librairies. Any idea of what might be happening? When I look into the built
DLLs and LIBs with dumpbin, the symbols all seem to be there except that
their decorated names don’t start with “__imp_?”. I’m not sure if this is
important or not…


Any help would be really appreciated!!!!



Boost list run by bdawes at, gregod at, cpdaniel at, john at