gcc - libgcc_s_dw2.dll is missing when running executeable file on different machine -


i running executable different , error (program can not find libcc_s_dw2.dll). appreciated.

the libgcc_s_dw2.dll ist part of mingw runtime.

you have 2 ways fix this:

  1. copy libgcc_s_dw2.dll program's folder (where exe is) or system path
  2. compile program -static-libgcc (and -static-libstdc++ if c++) flag.

if choose 1., , don't have file: can download here (libgcc-4.7.2-1-mingw32-dll-1.tar.lzma).

this mingw gcc 4.7.2, other versions of file have browse website bit. if application crashes, have (= correct) version. best check gcc version has been used before.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -