Wrapping external libraries which are using boost

Hi rooters,
I have a library with a bunch of classes which are using some of the boost algorithms.
I would like to use them in ROOT so I start wrapping them.
When I try to generate a dictionary I get the error:

Any idea how to proceed or what I have might done wrong?

Hi,

CINT is unable to parse a large fraction of the boost headers (i.e. they use C++ features not supported in CINT). You need to hide those #include with something like:#ifndef __CINT__ #include <boost/something.h> #else // If needed forward declare the boost entity as 'simply' as possible template <typename T> class boost_ptr; #endif

Cheers,
Philippe.

I just want to say that this answer has helped me more than you know. I have been trying for days now to get boost to work in root.