id summary reporter owner description type status milestone component version severity resolution keywords cc
8492 Using BOOST_THREAD_DYN_LINK causes error LNK2019 lhoch@… viboes "HI
I am using boost thread and linking it dynamically.
specifically I use the BOOST_THREAD_DYN_LINK definition.
when I use try_join_for
(template
bool try_join_for(const chrono::duration& rel_time))
I get linkage error:
error LNK2019: unresolved external symbol ""__declspec(dllimport) public: bool __cdecl boost::thread::try_join_until(class boost::chrono::time_point > > const &)"" (__imp_?try_join_until@thread@boost@@QEAA_NAEBV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@2@@Z) referenced in function ""public: bool __cdecl boost::thread::try_join_until > >(class boost::chrono::time_point > > const &)"" (??$try_join_until@Vsteady_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@thread@boost@@QEAA_NAEBV?$time_point@Vsteady_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@1@@Z)
Note that if I remove the definition, it compiles fine.
we work on windows, using visual studio 2010 in 64bit
thanks
Lior
" Bugs closed To Be Determined thread Boost 1.53.0 Problem duplicate