12 Mar
2007
12 Mar
'07
10:40 a.m.
Hello, I have a little problem with initialization of boost filesystem path. I'm working on Cygwin in Windows XP. The fs::initial_path() and fs::current_path() both work ok and show something like: C:\cygwin\boost But when I try to use a path of my own, say: fs::path full_path( "C:\\cygwin\\boost" ); I get thrown with an exception. Same deal with the rest of the combinations I can think of: C:/cygwin/boost c:/cygwin/boost. c/cygwin and /cygwin don't throw but the paths are not found. So how do initialize the fs::path with a Windows type of directory path? Timo