
21 Jan
2006
21 Jan
'06
10:37 a.m.
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?
Thanks Simon (ps: yah! my first post!)