1>database.obj:errorLNK2001:无法解析的外部符号"__declspec(dllimport)classsql::mysql::MySQL_Driver*__cdeclsql::mysql::get_driver_instance(void)"(__imp_?get_driver_instance...
1>database.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_driver_instance(void)" (__imp_?get_driver_instance@mysql@sql@@YAPAVMySQL_Driver@12@XZ)
1>database.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall sql::SQLString::SQLString(char const * const)" (__imp_??0SQLString@sql@@QAE@QBD@Z)
1>database.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall sql::SQLString::SQLString(class std::basic_string,class std::allocator > const &)" (__imp_??0SQLString@sql@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
所有的东西(mysql主体、C++ Connector、编译选项)都是x86的,请问该怎么解决?
展开