Boost logo

Boost Users :

From: Filip Balas (fbalas_at_[hidden])
Date: 2007-12-16 20:48:47


Hi Chris,

So you are compiling this in Eclipse using
the same versions of everything as me, except
you're on windows with mingw?

Filip

On Dec 14, 2007 4:30 PM, Chris Miller <lordsauronthegreat_at_[hidden]> wrote:
>
> On Dec 14, 2007 3:01 PM, Filip Balas <fbalas_at_[hidden]> wrote:
> > Hi All,
> >
> > I saw an earlier post that talked about this similar problem,
> > but the only reply did not solve my problem.
> >
> > I have eclipse 3.2.2, cdt 3.1.1.1
> >
> > I have to use these versions because I am also using the
> > cell SDK 2.1.
> >
> > I am getting the error:
> > expected primary-expression before ')' token
> > expected primary-expression before '>' token
> >
> > The line of code looks like:
> > #include <boost/filesystem/path.hpp>
> > #include <boost/filesystem/operations.hpp>
> >
> > namespace fs = boost::filesystem;
> >
> > fs::path configPath(fs::initial_path<fs::path>());
> >
> >
> > I have 'boost_filesystem' in my libraries (-l) section
> > in my Linker tab.
> >
> > I have '/usr/include/boost' in my include paths section (-l)
> > in my compiler & debug options. (this is the right path)
> >
> > I am wondering if this may be a problem with the version
> > of eclipse/cdt that I'm using, or if someone else has had
> > this problem and knows of a solution?
>
> That's really odd, because the same thing (save for the masking of the
> namespace) worked for me on MinGW.
>
> http://www.dev.fsdev.net/KW/KingdomWars/src/AppLayer/DirectoryTree.cpp
>
> Fifth line down.
>
> --
> Registered Linux Addict #431495
> http://profile.xfire.com/mrstalinman
> John 3:16!
> If Microsoft is the Wal*Mart of the Software World, then Linux is the Home Depot
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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