win7 64位 mysql 64位 VS2008 32位编译器编译项目出错

来源:互联网  时间:2016/8/26 17:40:21

关于网友提出的“ win7 64位 mysql 64位 VS2008 32位编译器编译项目出错”问题疑问,本网通过在网上对“ win7 64位 mysql 64位 VS2008 32位编译器编译项目出错”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: win7 64位 mysql 64位 VS2008 32位编译器编译项目出错
描述:

mysql64位visual studio 200832位

项目之前在win7 32 位操作系统上正常运行。重装系统后,我在VS2008 中配置了mysql:tools->options->projects and solution->VC++ Directories中添加include和library文件
在项目属性中,linker下添加了additional dependencies libmysql.lib
编译出现如下问题:
 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "int __cdecl VerifyDev(struct MACINFO &,class std::basic_string<>,class std::allocator >)" (?VerifyDev@@YAHAAUMACINFO@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
 error LNK2001: unresolved external symbol _mysql_fetch_row@4
error LNK2001: unresolved external symbol _mysql_fetch_row@4
 fatal error LNK1120: 1 unresolved externals
请大神们帮忙解决

上一篇C++往插入中文时,出现错误
下一篇求大神解答一下名字查找的问题,这章我看了三遍了,但是我对于课后的习题的解答有点不解
明星图片
相关文章
《 win7 64位 mysql 64位 VS2008 32位编译器编译项目出错》由码蚁之家搜集整理于网络,
联系邮箱:mxgf168#qq.com(#改为@)