Problem with final product

Hi,
I use the codeblocks IDE and when ever I run the build directly it says it can not run without libgcc_s_dw2-1.dll and libstdc++-6.dll.

I assume these DLL files are not needed in the final build and are used for the IDE or something.

If I am wrong please state. If anyone can tell me if their is a way to build the binaries so it does not require these DLL's or can tell me what those DLL's are actually for that would be great.

Thanks
Last edited on
did this happen on the first time you built/ran a program? are you on windows?
It happens on all programs. I am using windows
did it happen the very first time you ran any program?
Those are the standard c++ libraries, they aren't a part of codeblocks and your program needs them to run.

I'm assuming your program works when you run it from within codeblocks.

I don' t know how to set up codeblocks, but what you're looking for is a way to statically link them, at which point they will be part of the exe.

Otherwise, those file are indeed somewhere on your computer, just copy/paste them into the same directory as the exe.
Last edited on
Yeah I think I will statically link them. If you ask me they look pretty ugly I will statically link them.

Cheers
Topic archived. No new replies allowed.