boost::filesystem -- "invalid name" error
Hello, I'm using the boost filesystem library to implement a gtkmm widget which represents a view on the local filesystem. However, while browsing through the files (they are displayed in a TreeView), the application now and then crashs with the following error message: [mkay][~/devel/projects/fb]: ./fb.elf glibmm-ERROR **: unhandled exception (type std::exception) in signal handler: what: boost::filesystem::path: invalid name "lost+found" in path: "lost+found" aborting... Aborted Of course the path names differ, but lost+found is a typical directory found on Linux machines, so this is a representative example for the error I guess. I have no idea what is causing this, any ideas?
Matthias Kaeppler wrote:
Hello,
I'm using the boost filesystem library to implement a gtkmm widget which represents a view on the local filesystem. However, while browsing through the files (they are displayed in a TreeView), the application now and then crashs with the following error message:
[mkay][~/devel/projects/fb]: ./fb.elf
glibmm-ERROR **: unhandled exception (type std::exception) in signal handler: what: boost::filesystem::path: invalid name "lost+found" in path: "lost+found"
aborting... Aborted
Of course the path names differ, but lost+found is a typical directory found on Linux machines, so this is a representative example for the error I guess.
I have no idea what is causing this, any ideas?
Solved. Had to construct the pathS as 'native'. -- Matthias Kaeppler
participants (1)
-
Matthias Kaeppler