Boost logo

Boost Users :

From: Baptiste Gaillard (b_gaillard_at_[hidden])
Date: 2007-03-29 08:19:22


Hi,

I've tried to use boost on MacOS X but encouter strange problems at
compilation's time. I wish to use the uBlas library so I've insert this
code in an header file.

#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/io.hpp>

When I try to compile I obtain those errors:

/usr/include/c++/4.0.0/complex:131 error: expected unqualified-id before
'double'
/usr/include/c++/4.0.0/complex:131 error: abstract declarator '_Tp&' used as
declaration
...
...
(149 more)

I've installed the library using 'apt-get'

'apt-cache search boost' give me that
boost-jam
boost1.33
boost1.33-shlibs

So my version off boost is 1.33

'gcc --version' display
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)

I'm using a MacBook with a Core 2 Duo processor.

So, do you have any idea to solve this problem ?

Thanks

Baptiste

PS: Sorry if it's somtimes difficult to understand my words, I'm french :-)

_________________________________________________________________
Personnalisez votre Messenger avec Live.com
http://www.windowslive.fr/livecom/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net