Issue
For a new project i need use filesystem library but when I try to include it, my compilation fail cause it can't find the library. I'm compiling on Windows with gcc installed via minGW and his version should be 6.3. I know for sure that from gcc 8+ this library should be included in the standard one. I' ve also tried to find it in experimental but it can't do it. Is there any way to solve this problem? Like installing a newer version of gcc or including this library in any other way? Sorry but I'm not used to this type of thing.
Solution
The C++ filesystem
library was introduced in C++17, but your compiler might be configured to use an earlier version of the language by default. Try using the -std=c++17
option.
Answered By - David Grayson Answer Checked By - Marie Seifert (WPSolving Admin)