Mingw libgcc_s_sjlj-1.dll is missing

后端 未结 1 1798
北海茫月
北海茫月 2020-12-28 18:14

I\'m trying to compile a program in codeblocks using mingw. I had to include libw2_32.a that I don\'t get any compiler errors. The program compiles fine but when I want to r

相关标签:
1条回答
  • 2020-12-28 18:35

    You have to use -static-libgcc while compiling with mingw’s g++ to eliminate the dependency on LIBGCC_S_SJLJ-1.DLL. You can do that by adding static-libgcc to the linker flags.

    I found this info in this post: http://www.qtcentre.org/threads/39639-MinGW-w64-dependency-on-LIBGCC_S_SJLJ-1-DLL

    0 讨论(0)
提交回复
热议问题