6 May
2015
6 May
'15
8:25 a.m.
Do you link to Boost.Thread built as a shared library (dll)? Both libraries must use Boost.Thread dll because it maintains a global list of thread_specific_ptr storage objects internally.
This could be a problem, in both solutions I have in Properties: Additional Include Directories: ..\3rdParty\Common\include\boost (here I have .hpp files) and in Linker: Additional Library Directories: ..\3rdParty\$(Platform)\VC12\lib and here I have libboost_thread-vc120-mt-1_57.lib May I do this in some other way ? I read that I can achieve that by define: #define BOOST_ALL_DYN_LINK in pre-compiled header stdafx.h Thank you for your patience Andrey.