哪里可以获取libgcc_s_dw2-1.dll? [英] Where Can I Get libgcc_s_dw2-1.dll?

查看:201
本文介绍了哪里可以获取libgcc_s_dw2-1.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写的程序使用SFML,但运行时失败,因为$ code> libgcc_s_dw2-1.dll 缺少。我正在使用tdm-gcc,并且找不到我的电脑上的任何地方的文件,并重新安装并没有帮助,一个简单的你好世界的程序工作正常,所以我不知道为什么它需要这个dll。

The programme I have written uses SFML but fails when run because libgcc_s_dw2-1.dll is missing. I'm using tdm-gcc and can't find the file anywhere on my computer and re-install doesn't help and a simple hello world programm works fine so I'm not sure why it needs this dll.

可以在哪个mingw包中找到?我在网站上搜索过,但找不到。道歉,如果我刚刚错过了一个明显的搜索结果,但这是令人难以置信的令人沮丧的!感谢提前,呃。

Which mingw package can this be found in? I've had a search on the site but cant find it. Apologies if I have just missed an obvious search result but this is incredibly frustrating! Thanks in advance, ell.

P.S。我正在64位Windows 7上。

P.S. I'm on 64-bit Windows 7 by the way

编辑:对不起,我忘了提到我已经阅读了另一个问题有同样的问题,但正如我所说,我在电脑上的任何地方找不到该文件,位于 bin 目录或其他目录中。此外,将 -static-libgcc -static-libstdc ++ 传递给编译器和/或链接器可以让我无法识别的选项'-static-libstdc ++'。对不起,我没有澄清我已经读过了。谢谢!

Sorry I forgot to mention I had already read the answer to another question with the same problem, but as I have said, I cannot find the file anywhere on my computer, in the bin directory or otherwise. Also, passing -static-libgcc and -static-libstdc++ to the compiler and/or linker gives me unrecognized option '-static-libstdc++'. Sorry for not clarifying that I have read this already. Thank you!

推荐答案

该文件使用DWARF信息实现异常处理(new style,与setjump / longjump或SJLj,old

That file implements the exception handling using DWARF information (new style, versus setjump/longjump or SJLj, the old style.

所以只有当你的代码依赖于任何类型的例外时,才需要它。

So you should need it only if your code depends on exceptions of any kind.

如果你感觉很幸运,您可以从此处抓取我自己编译的此文件。

If you feel lucky you can grab my own compilation of this file from here.

这篇关于哪里可以获取libgcc_s_dw2-1.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆