-
Notifications
You must be signed in to change notification settings - Fork 116
Description
I get an error during make:
#/usr/bin/ld: tiv.o: in function std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path::format)': tiv.cpp:(.text._ZNSt10filesystem7__cxx114pathC2INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE]+0x40): undefined reference to
std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: tiv.o: in function main': tiv.cpp:(.text.startup+0x180e): undefined reference to
std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: tiv.cpp:(.text.startup+0x195a): undefined reference to std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' /usr/bin/ld: tiv.cpp:(.text.startup+0x19d7): undefined reference to
std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: tiv.cpp:(.text.startup+0x19e2): undefined reference to std::filesystem::status(std::filesystem::__cxx11::path const&)' /usr/bin/ld: tiv.cpp:(.text.startup+0x19f2): undefined reference to
std::filesystem::__cxx11::directory_iterator::operator++()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: tiv] Fehler 1