
I built boost_thread_vc100_mt-1_47.lib and boost_thread_vc100_mt-1_47.dll successfully by using 1_47 source codes without changing any thing.
When I used the libraries in my project, I got the following link errors:
1>boost_UT.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl boost::thread::sleep(class boost::posix_time::ptime const &)" (__imp_?sleep@thread@boost@@SAXABVptime@posix_time@2@@Z) 1>boost_UT.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class boost::intrusive_ptr<struct boost::detail::thread_data_base> __cdecl boost::thread::make_thread_info(void (__cdecl*)(void))" (__imp_?make_thread_info@thread@boost@@CA?AV?$intrusive_ptr@Uthread_data_base@detail@boost@@@2@P6AXXZ@Z) 1>boost_UT.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl boost::detail::free_raw_heap_memory(void *)" (__imp_?free_raw_heap_memory@detail@boost@@YAXPAX@Z) 1>boost_UT.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void * __cdecl boost::detail::allocate_raw_heap_memory(unsigned int)" (__imp_?allocate_raw_heap_memory@detail@boost@@YAPAXI@Z) <...> My working environment: Windows 7 + Visual Studio VC++10.
Are you sure that the linker finds Boost.Thread library? I.e. do you add its path to the linker paths?