MySQL Forums
Forum List  »  Connector/C++

Re: Link error with mysqlcppconn-static.lib on Visual C++ 2005
Posted by: Lawrin Novitsky
Date: December 27, 2008 12:16PM

Hi,

Looks like there is a bug here. I can suggest you to use either use dynamic library or adding #define CPPDBC_PUBLIC_FUNC after "#if defined(_WIN32)...#endif" blocks in driver.h and connection.h should help too (probably more correct way would be to define CPPDBC_PUBLIC_FUNC before including connector/c++ headers, and enclose mentioned #if defined(_WIN32)...#endif blocks in the #ifndef CPPDBC_PUBLIC_FUNC block)
I think it will be fixed in the next release.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Link error with mysqlcppconn-static.lib on Visual C++ 2005
4152
December 27, 2008 12:16PM


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.