Hi
 
I try to use the random library in order to create a noise signal with normal distribution.
I'm using Cygwin platform, and I'm using g++ compiler.
I wrote:
#include <boost/random.hpp>
 
at the beginning of my header file.
and when I tried to compile I got the following error message:
 
In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/cassert:48,
                 from ../boost/boost/random/linear_congruential.hpp:20,
                 from ../boost/boost/random.hpp:36,
                 from actor.H:12,
                 from tdagent.H:11,
                 from main.C:1:
/usr/include/assert.h:6: error: expected unqualified-id before string constant
/usr/include/assert.h:6: error: expected `,' or `;' before string constant
main.C, tdagent.H, actor.H are files that I've written.
I am not familiar with assert.h, I guess it's part of the c++ headers, and that there shouldn't be an error in it.
 
Hope someone can help me solve it.
Dvir.