19 Feb
2010
19 Feb
'10
8 a.m.
Hi,
I tried to experiment with boost::random_device (e.g.
http://www.boost.org/doc/libs/1_42_0/libs/random/nondet_random_speed.cpp),
but failed to link it:
randomTest.cpp:36: undefined reference to
`boost::random_device::operator()()'
randomTest.o: In function `main':
randomTest.cpp:57: undefined reference to
`boost::random_device::default_token'
randomTest.cpp:57: undefined reference to
`boost::random_device::random_device(std::basic_string