Opened 9 years ago

Closed 7 years ago

#2621 closed Bugs (fixed)

filesystem library path facility still doesn't work on cygwin

Reported by: Eray Ozkural <examachine@…> Owned by: Beman Dawes
Milestone: Boost 1.38.0 Component: filesystem
Version: Boost 1.37.0 Severity: Problem
Keywords: cygwin Cc:


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.


Eray Ozkural

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Beman Dawes

Resolution: fixed
Status: newclosed

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.



Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Beman Dawes.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.