无法链接mysql5.1.39\bin\libmySQL.dll [英] Failed to link mysql5.1.39\bin\libmySQL.dll
本文介绍了无法链接mysql5.1.39\bin\libmySQL.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试连接到mysql5.1.39\bin\libmySQL.dll时,出现错误:
When trying to link to mysql5.1.39\bin\libmySQL.dll, I get an error:
致命错误LNK1107 :无效或
损坏的文件:无法读取0x2D0
fatal error LNK1107: invalid or corrupt file: cannot read at 0x2D0
任何熟悉此操作的人?
推荐答案
您必须链接到.lib或.def。如果你只有DLL有工具从DLL中创建.lib / .def。根据你使用的编译器,它可能已经存在。
You have to link with a .lib or a .def. If you only have the DLL there are tools to create .lib/.def from the DLL. Depending on what compiler you use it might be there already.
但我猜想mySQL已经在它们的包中有.lib。
But I would guess that mySQL already have the .lib for this in their package.
这篇关于无法链接mysql5.1.39\bin\libmySQL.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文