c++ experimental lib missing ?

XCode 10.0 beta


The following code:


#include <experimental/filesystem>

...

namespace fs = std::experimental::filesystem;

fs::path current = fs::current_path();


does not build with the error:


Undefined symbols for architecture x86_64:

"std::experimental::filesystem::v1::__current_path(std::__1::error_code*)", referenced from:

_main in main.o

ld: symbol(s) not found for architecture x86_64



and with OTHER_LDFLAGS = -lc++experimental :


ld: library not found for -lc++experimental

c&#43;&#43; experimental lib missing ?
 
 
Q