Boost logo

Boost Users :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-01-22 17:44:34


"Simon Lam" <cryxia_at_[hidden]> wrote in message
news:dqt2sj$7al$1_at_sea.gmane.org...
> Hello all,
>
> I've been fiddling around with the gnu gcc programming enviroment on
> cygwin, trying to make boost::filesystem work. I've hit a snag where the
> boost libraries consider my filesystem to be single rooted, and thus
> path won't take "c:\" as an argument.
>
> I've compiled the simple_ls.cpp program included in the documentation.
> It uses boost::filesystem::path::native_file_string(), and this returns
> a unix style path. I've tried running "simple_ls c:" but it complains
> that /home/<path to current dir>/c: is unavailable.
>
> I want to be able to use this in a program thats for windows, but
> independent of cygwin. Any ideas how to work around this?

Try the CVS head version. It should do a better job with cygwin. Let us know
if you still have problems.

--Beman

PS: Another Boost.Filesystem update for CVS head should be ready sometime
this week. Improved handling of status, status predicates, and no throw on
certain errors.


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