Hello;
The second statement causes the error.
I tried all the example codes that are on this site but get the same link error.
If I comment out the second line the program compiles just fine.
Does anyone know what I can do to fix this?
Thank you;
Dean
sql::Driver *driver;
driver = mysql::get_mysql_driver_instance();
LNK2001: unresolved external symbol "class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_driver_instance(void)" (?get_driver_instance@mysql@sql@@YAPAVMySQL_Driver@12@X
Tried the examples code and got the same link error.
I am using Visual Studio 2010 Professional and intellisense picks up the members of the classes just fine. There are no errors in the code but the get_driver_instance(); will not link, I wonder if this is a bug?
The second statement causes the error.
I tried all the example codes that are on this site but get the same link error.
If I comment out the second line the program compiles just fine.
Does anyone know what I can do to fix this?
Thank you;
Dean
sql::Driver *driver;
driver = mysql::get_mysql_driver_instance();
LNK2001: unresolved external symbol "class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_driver_instance(void)" (?get_driver_instance@mysql@sql@@YAPAVMySQL_Driver@12@X
Tried the examples code and got the same link error.
I am using Visual Studio 2010 Professional and intellisense picks up the members of the classes just fine. There are no errors in the code but the get_driver_instance(); will not link, I wonder if this is a bug?