关于网友提出的“ 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<>
error LNK2001: unresolved external symbol _mysql_fetch_row@4
error LNK2001: unresolved external symbol _mysql_fetch_row@4
fatal error LNK1120: 1 unresolved externals
请大神们帮忙解决