Windows XP不从MinGW / bin加载libstdc ++ 6.dll,而是从exe dir加载

时间:2013-01-10 19:25:00

标签: c++ mingw

在使用scons编译jsoncpp-src-0.5.0后,我收到了以下错误。生成的可执行文件可能无法从MinGW / bin目录加载libstdc ++ 6.dll,尽管它位于PATH上。

the procedure entry point _gxx_personality_v0 could not be located in the dynamic link library libstdc++6.dll

将dll放入可执行文件的文件夹可以解除此错误。可能是什么导致了这个?

1 个答案:

答案 0 :(得分:2)

有关Windows如何为您的应用程序搜索DLL的(很多)详细信息,请参阅Dynamic-Link Library Search Order。似乎总是首先搜索应用程序的可执行目录。