In English, OP's error message says
the entry point for the procedure std::chrono::system_clock::now() couldn't be found in libstdc++-6.dll. |
The error message contains the mangled symbol name instead of the actual function name, but I don't want to copy that unless someone needs it.
OP, what's your compiler's version? What version of Windows?
Are you sure the right version of
libstdc++-6.dll is being loaded? When I last used Windows, there was a tool to check the dependencies, but I don't remember its name. Maybe your environment provides
ldd or
objdump too, in which case you may use either of them to check.
i found the library that i must add on linker |
This isn't a dynamic library. If you want to statically link, pass the flags
-static-libstdc++ -static-libgcc
to the compiler.