|
Boost Users : |
From: Timo (timo_lampinen_at_[hidden])
Date: 2007-03-12 06:40:37
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
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