Boost logo

Boost Users :

From: Simon Lam (cryxia_at_[hidden])
Date: 2006-01-21 05:37:48

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?

(ps: yah! my first post!)

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at