Boost logo

Boost Users :

From: dvir schirman (dvir.boost_at_[hidden])
Date: 2006-05-16 09:57:54


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
                 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
/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.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at