I opened dsfml-system.lib file, and found 1.txt file there, it contains the line: src\DSFMLC\System\CMakeFiles\dsfmlc-system.dir\Err.cpp.obj _sfErr_redirect but when linking it looking for the: lld-link: error: <root>: undefined symbol: sfErr_redirect without a _ symbol on the beginning