|
Boost Users : |
From: Filip Balas (fbalas_at_[hidden])
Date: 2007-12-18 16:59:41
For those who might run into the same error, the only thing that
would work for me is to change my code to the following:
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
using namespace boost::filesystem;
//fs::path configPath(fs::initial_path<fs::path>());
path configPath = system_complete(path("./appSettings.cfg", native));
Don't know why the boost samples don't work, but this does.
Cheers.
On Dec 18, 2007 11:19 AM, Filip Balas <fbalas_at_[hidden]> wrote:
> Yah, that's what I'm finding.
> I think I will enjoy it a lot if I can ever get it to work :-P
>
> Filip
>
>
> On Dec 17, 2007 3:15 PM, Chris Miller <lordsauronthegreat_at_[hidden]> wrote:
> > On Dec 16, 2007 5:48 PM, Filip Balas <fbalas_at_[hidden]> wrote:
> > > Hi Chris,
> > >
> > > So you are compiling this in Eclipse using
> > > the same versions of everything as me, except
> > > you're on windows with mingw?
> >
> > Yes, that is correct. I don't know why boost wouldn't work on Linux.
> > I haven't tested my code yet for Linux, but I think it should work.
> >
> > Man, Boost sure is a pain to get working, even though it is nice once
> > it's working.
> >
> > --
> >
> > 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