I have downloaded the file: mysql-connector-c++-noinstall-1.1.0-winx64-vs2005
I have unzipped the file to: C:\Program Files\MySQL\MySQL Connector C++ 1.1.0\
My directory looks as follows:
COPYING
README
/include
mysql_connection.h
mysql_driver.h
/cppconn
build_config.h
config.h
connection.h
datatype.h
driver.h
exception.h
metadata.h
parameter_metadata.h
prepared_statement.h
resultset.h
resultset_metadata.h
sqlstring.h
statement.h
warning.h
/lib
/debug
mysqlcppconn-static.lib
mysqlcppconn-static.pdb
mysqlcppconn.dll
mysqlcppconn.lib
mysqlcppconn.pdb
My Visual Studio LIB directory path is pointing at lib/debug
My project file is set to link with mysqlcppconn.lib.
Program compiles fine. Linker blows a gasket:
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sql::SQLString::~SQLString(void)" (__imp_??1SQLString@sql@@QAE@XZ)
What do I have to link with to get SQLString?
-Thanks
I have unzipped the file to: C:\Program Files\MySQL\MySQL Connector C++ 1.1.0\
My directory looks as follows:
COPYING
README
/include
mysql_connection.h
mysql_driver.h
/cppconn
build_config.h
config.h
connection.h
datatype.h
driver.h
exception.h
metadata.h
parameter_metadata.h
prepared_statement.h
resultset.h
resultset_metadata.h
sqlstring.h
statement.h
warning.h
/lib
/debug
mysqlcppconn-static.lib
mysqlcppconn-static.pdb
mysqlcppconn.dll
mysqlcppconn.lib
mysqlcppconn.pdb
My Visual Studio LIB directory path is pointing at lib/debug
My project file is set to link with mysqlcppconn.lib.
Program compiles fine. Linker blows a gasket:
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sql::SQLString::~SQLString(void)" (__imp_??1SQLString@sql@@QAE@XZ)
What do I have to link with to get SQLString?
-Thanks