Opened 14 years ago
Closed 12 years ago
#2621 closed Bugs (fixed)
filesystem library path facility still doesn't work on cygwin
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | filesystem |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | cygwin | Cc: |
Description
There should be a previous bug report but I'd rather open a new one.
I compiled and installed defining BOOST_POSIX_API in the boost configuration and my program. I still get the following errors when I'm trying to traverse the contents of "/tmp":
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> > > >'
what(): boost::filesystem::basic_directory_iterator constructor: No such file or directory: "\tmp"
So, using BOOST_POSIX_API changes exactly nothing wrt to this bug. Please help me out with this.
Best,
Eray Ozkural
Boost.Filesystem Version 3, which will ship with Boost release 1.44, should work more reliably with Cygwin because the API choice is now automatic and is limited to the Windows API. This is possible because modern versions of Cygwin now fully support wide character functionality such as std::wstring.
Cygwin is one of the environments being used to develop and test Boost.Filesystem Version 3.
Thanks,
--Beman