XboxDev / nxdk-libcxx

Copy of libcxx git repository located at http://llvm.org/git/libcxx (adapted for original Xbox / nxdk toolchain)
http://libcxx.llvm.org
Other
4 stars 3 forks source link

`std::filesystem` fails to link #10

Open glebm opened 1 year ago

glebm commented 1 year ago

Attempting to use std::filesystem results in:

lld: error: undefined symbol: bool __cdecl std::__1::__fs::filesystem::__create_directories(class std::__1::__fs::filesystem::path const &, class std::__1::error_code *)
thrimbor commented 1 year ago

std::filesystem is not available unfortunately as at the time of porting libc++ had no working win32 backend for it.

It appears there has been Windows-related work in this area since then, but I haven't checked how complete it is, whether it'll work on nxdk or how much work it would be to get it going. This is further complicated by llvm having moved to a mono-repo in the meantime (see https://github.com/XboxDev/nxdk-libcxx/issues/3).