Name: Anonymous 2010-05-10 20:13
I've been trying to follow the tutorial on the MySQL Connector C++ documentation. However, I constantly get a linker error:
1>driver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_mysql_driver_instance(void)" (__imp_?get_mysql_driver_instance@mysql@sql@@YAPAVMySQL_Driver@12@XZ) referenced in function _main
1>TestProject2.exe : fatal error LNK1120: 1 unresolved externals
I'm fairly new to C++ and basically everything I find says "Figure it out.", which makes it about as fun as smashing my face into a brick wall. Thanks guys.
1>driver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_mysql_driver_instance(void)" (__imp_?get_mysql_driver_instance@mysql@sql@@YAPAVMySQL_Driver@12@XZ) referenced in function _main
1>TestProject2.exe : fatal error LNK1120: 1 unresolved externals
I'm fairly new to C++ and basically everything I find says "Figure it out.", which makes it about as fun as smashing my face into a brick wall. Thanks guys.