MySQL Forums
Forum List  »  Connector/C++

Link error with mysqlcppconn-static.lib on Visual C++ 2005 with v1.0.3
Posted by: Myeongho AN
Date: March 03, 2009 10:54PM

I made Connector/C++ library for Win32 and Win64.

share library has no problem. but some link error occurred in linking with static library (mysqlcppconn-static.lib).

error LNK2019: "__declspec(dllimport) public: static class sql::mysql::MySQL_Driver * __cdecl sql::mysql::MySQL_Driver::Instance(void)" (__imp_?Instance@MySQL_Driver@mysql@sql@@SAPAV123@XZ)

How to solve this problem?



Edited 1 time(s). Last edit at 03/03/2009 10:55PM by Myeongho AN.

Options: ReplyQuote


Subject
Views
Written By
Posted
Link error with mysqlcppconn-static.lib on Visual C++ 2005 with v1.0.3
4285
March 03, 2009 10:54PM


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.