Boost logo

Boost Users :

From: Daniel James (daniel_james_at_[hidden])
Date: 2008-04-23 05:51:14


2008/4/23 7stud <bbxx789_05ss_at_[hidden]>:
>
> >From one of my earlier posts:

Sorry, I missed that one.

> Header Search Paths /usr/local/boost_1_34_1/**

If you really have two asterisks at the end of that setting you should
remove them, although from the errors it looks like you don't so I
assume that was a copy and paste quirk.

> error: expected initializer before token '<' token
> error: for_each is not a member of 'std'

These errors suggest that the headers <iterator> and <algorithm> are
not included. Check that you haven't changed the include lines for
those headers. If they're still there, then you might have
accidentally changed the system include path when trying to set up the
include path for the boost headers - so creating a project from
scratch might work.


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