|
Boost Users : |
Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-23 12:09:46
AMDG
Hossein Haeri wrote:
>> You either applied the patch twice or had an old version
>> of libs/random/src/random_device.cpp when you applied the
>> patch. You'll need to delete the extra parts.
>>
>
> Done that and got the following link error:
>
> obj\Release\main.o:main.cpp:(.text+0x11fc): undefined reference to `CryptEnumProvidersA(unsigned long, unsigned long*, unsigned long, unsigned long*, char*, unsigned long*)@24'
> obj\Release\main.o:main.cpp:(.text+0x169c): undefined reference to `CryptEnumProvidersA(unsigned long, unsigned long*, unsigned long, unsigned long*, char*, unsigned long*)@24'
>
> Any suggestions now?
>
You need to link to advapi32.lib
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net