User forums > Using Code::Blocks

i have problem plase check

(1/3) > >>

inzynier1979:
Hi i make program he i not working because librarys whas not available he call libgcc_s_seh-1.dll and libstdc++-6.dll and libwinpthread-1.dll
i add this libraries to cataloge where is program to bin where is .exe after that he show me error _ZNKSt25_codecvt_utf8_utf16_baseIwe10do_unshiftER9_MbstatetPcS3_and  link destination file can you explain me that and help me fix that

Miguel Gimenez:
You must use the three DLL from the same compiler used to compile your program, currently you are mixing versions.

inzynier1979:
whitch librarys? and how use that ?

inzynier1979:
like i add this three dll after that he show me problem

Miguel Gimenez:
The DLL libraries you added (libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll) to the exe directory must come from the same compiler used to compile your program. Do not download random DLL from Internet or use the first one found in your computer.

C is not picky about mixing DLL from different sources, but C++ is because of name mangling.

Navigation

[0] Message Index

[#] Next page

Go to full version