On Tue, 20 Apr 2021 at 21:42, Jakub Nowak wrote: > > Hello, > > when I compile my program like this `g++ -std=c++17 -lstdc++fs test.cpp -o > test` it fails to compile because of linker errors. The reasons is that > `test.cpp` should some before `-lstdc++fs`. This is a FAQ: http://c-faq.com/lib/libsearch.html