Hello.
I am relatively new to boost. I am trying to compile boost-1.52 in a
windows server 2008R2 using visual studio 2012 express.
I got an error linking random dll:
random_device.obj : error LNK2019: unresolved external symbol
__imp__CryptAcquireContextA@20 referenced in function "public:
__thiscall boost::random::random_device::impl::impl(class
std::basic_string const &)"
(??0impl@random_device@random@boost@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
The same error repeats for 'CryptReleaseContext', 'CryptGenRandom' and
'CryptEnumProvidersA'.
The problem does not happend if I add
'<toolset>msvc:<linkflags>advapi32.lib' to the requirements in
random/build/Jamfile.v2.
Anyone has seen this before?
--
Juan Carlos Franzoy
Licenciado en Sistemas