Code Blocks 16.01: what is the compiler option for add the dll dependency?

what is the compiler options for i add the libstdc++-6.dll on exe?
Settings -> Compiler ... -> Linker (tab) will be where you link to the library that your compiler uses to read the DLL. The DLL file itself will have to be in the search path of the project.

That being said, that particular file should already be included in your project. Are you having portability issues? What's the observable problem?
see these image:
https://imgur.com/a/0kdHn
i must share, too, that file :(
i can't add a dll on linker :(
i found the library that i must add on linker: libstdc++.a
on folder ".....\lib\gcc\i686-w64-mingw32\4.8.1\"
Last edited on
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.
Last edited on
thank you so much.
but i added it on Compiler Options and not on Build Options. because it's a dependency of exe.
When I last used Windows, there was a tool to check the dependencies, but I don't remember its name.

Dependency Walker (depends.exe)
http://dependencywalker.com/

See also:
https://en.wikipedia.org/wiki/Dependency_Walker
thank you so much. thanks to all
and Merry Christmas
Registered users can post here. Sign in or register to post.