|
Boost Users : |
Subject: Re: [Boost-users] Boost.Log V1. error on QNX6.4 "boost::filesystem::create_directories: File exists: "blabla"
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2011-06-09 20:25:46
"Jinqiang Zhang" wrote:
> The "blabla" in title is the path where I ran the application
>
> I got this exception when trying to logging first record. The console log
> shows up then the exception thrown.
There is a bug in Boost.Filesystem.V3 which gives incorrect results or a
crash on QNX (at least on 6.5.0) when the Filesystem library uses the stat()
function internally to check the status of a file or directory. It sounds as
though that could explain your problem.
See here:
https://svn.boost.org/trac/boost/ticket/5355 (issue 2)
Try patching Filesystem as described or if possible switch to Filesystem.V2
(see the documentation).
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