Boost.Random - random_device error LNK2019 ()
Hello there!
Windows XP, Boost 1.38, VC++ 7.1 / Mingw 3.4.2
sample code:
//-----------------------------------------------------
#include
AMDG Valen wrote:
Hello there!
Windows XP, Boost 1.38, VC++ 7.1 / Mingw 3.4.2
sample code:
//----------------------------------------------------- #include
#include #include int main() {
boost::random_device m; typedef boost::uniform_int<> distribution_type; distribution_type generator2(m());
return 0; } <snip>
MinGW gave same output
I checked the sources and find no implementation of ~random_device and etc...
The implementation is in libs/random/random_device.cpp However, it may not work because it is conditioned on: #if defined(__linux__) || defined (__FreeBSD__) In Christ, Steven Watanabe
participants (2)
-
Steven Watanabe
-
Valen