C++ 在动态链接库中找不到过程入口点
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25524620/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The procedure entry point could not be located in dynamic link library
提问by Lion King
I have the following error when open my application.
打开我的应用程序时出现以下错误。
I'm use windows 7 32bit
platform, and Qt v5.3.1
with MinGW 4.8.2 - 32bit
compiler .
All dll's files with Qt5Core.dll
for 5.3.1
version already exists .
I don't know how to solve this problem.
我使用windows 7 32bit
平台,并Qt v5.3.1
使用MinGW 4.8.2 - 32bit
编译器。
所有带有Qt5Core.dll
for5.3.1
版本的dll 文件都已经存在。
我不知道如何解决这个问题。
回答by Kosovan
Probably you get this error because you use dlls from QtCreator directory which was not compiled with mingw
(often QtCreator compiled with Microsoft visual studio on Windows)
可能您收到此错误是因为您使用了未编译的 QtCreator 目录中的 dll mingw
(通常是使用 Windows 上的 Microsoft Visual Studio 编译的 QtCreator)
You should use dlls from C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin
(for example) .
您应该使用C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin
(例如) 中的dll 。
App which was compiled with mingw
needs dll which compiled with mingw
too.
使用编译的应用程序也mingw
需要使用编译的 dll mingw
。