本文介绍了链接mysqlclient.lib的VC ++ 2008问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我在项目中使用mysql时遇到问题.链接时出现问题,错误如下:
-
-错误LNK2001:函数_search_default_file(File:mysqlclient.lib)中引用的未解决的外部符号__iob".
我读到这是因为文件是使用VC 6.0构建的(true),现在如何使用VC ++ 2008重建它?
PS
我的忽略特定库"看起来像这样的"libcmtd,libc,MSVCRT" ;.
有帮助吗?
提前谢谢!

Hi to all. I'm having problems with using mysql in my project. The problems appear when linking, errors like:
- "error LNK2001: unresolved external symbol __iob    (File:mysqlclient.lib)", and
-"error LNK2019: unresolved external symbol __iob referenced in function _search_default_file (File:mysqlclient.lib)".
I read that this is because file was build with VC 6.0 (true), how to rebuild it now using VC++2008?
P.S.
My 'Ignore Specific Library' looks like this "libcmtd,libc,MSVCRT".
Any help?
Thanks in advance!

推荐答案


这篇关于链接mysqlclient.lib的VC ++ 2008问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 01:01