Anyone knows how to fix it?]]>Shiu Fai Lee2013-12-04T11:50:36-00:00Re: random_device cannot resolved
https://www.eclipse.org/forums/index.php/mv/msg/628002/1220474/#msg_1220474
Uchiha Itachi2013-12-12T03:38:26-00:00Re: random_device cannot resolved
https://www.eclipse.org/forums/index.php/mv/msg/628002/1387894/#msg_1387894
I then had a look at the random include file (/usr/include/c++/4.8/random) and noticed that it basically is just a collection of other includes. I then searched these other includes for the one that had the declaration of the random_device type. This file is located at /usr/include/c++/4.8/bits/random.h.
So I just added this include to my problematic header file:
#include <bits/random.h>
And: Eclipse no longer gives me an error message! It's not a nice solution but at least it works.]]>Johannes May2014-06-25T18:52:54-00:00