I was trying to out the new filesystem STL library, but for some reason am getting errors. The Clang++7 website indicates that it should support th
filesystem
Clang++7
filesystem is still experimental and requires an extra library.
If you are using libstdc++, link with -lstdc++fs (or target_link_libraries(${PROJECT_NAME} stdc++fs)).
-lstdc++fs
target_link_libraries(${PROJECT_NAME} stdc++fs)
For libc++, use -lc++fs (similar for the CMake command).
-lc++fs