It seems, on the other side of the machine, compiled programs are not working. It seems that they are looking libgcc_s_dw2-1.dll.
How can no any various dll, no various third-party dependencies?
Otherwise, this is not good. :-[
Quote from: Дмитро on June 11, 2016, 11:54:07 PM
It seems, on the other side of the machine, compiled programs are not working. It seems that they are looking libgcc_s_dw2-1.dll.
How can no any various dll, no various third-party dependencies?
Otherwise, this is not good. :-[
Find out the information about YOUR compiler; ask the support for your compiler what options are needed!
Once, you figure out what compiler options are needed; then, you can ask here where/how to set them in Code::Blocks.
Tim S.
Indeed, it is a problem.
I have a friend on the computer run the program.
I had to put this near libgcc_s_dw2-1.dll,
then another libstdc ++ - 6.dll. After that, the program began to fall immediately, calling the debugger.
My compiler is probably C: \ MinGW \ bin
How to switch compilers for the project?
A few weeks earlier, I switched the different compilers, without straining.
Now I can not find .. I can not ... I klatsat long very long drop-down lists, and not znajshov.
I'm starting to rage. And it was before I switched well.
The program should call natural things, such as Sleep: KERNEL32 which without doubt is at all, and never look unnatural various others.
Point being it is a problem that has nothing to do with Code::Blocks. Look into statically linking, such as with the "-static-libgcc" link option (exact steps may vary depending on exactly what compiler you are using).
I added it inside
Other linker options: -static-libgcc
Still looking for libstdc ++ - 6.dll
Compiler I now see that
mingw32-g ++. exe
And how, indeed, to switch between different compilers? I do not find this option.
For example there are significantly Open Watcom.
Still other compilers should be as well.
For that C++ compiler, try -static-libstdc++ link flag. Depending on the version number of the compiler you're using, you may have to use something else. The more information you give, the more help you can get.
Thank you!
Edit: Removed non-English content. Please respect our forum policies!