MySQL Forums
Forum List  »  Connector/C++

SQLString Linker Error
Posted by: David Phillips
Date: April 01, 2011 02:30PM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
SQLString Linker Error
9986
April 01, 2011 02:30PM
3411
April 01, 2011 02:33PM
3851
April 01, 2011 10:03PM
4000
April 01, 2011 03:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.