MySQL Forums
Forum List  »  Connector/C++

Re: Error: undefined reference to get_driver_instance
Posted by: k n
Date: April 23, 2010 06:15PM

I'm using VS2008 using mysqlcppconn-static.lib (v1.0.5).

Not sure this helps anyone but my solution for this problem is documented around the bottom of the page at the link below ... CPPCONN_PUBLIC_FUNC needs to be defined as an empty string

http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-apps-windows-visual-studio.html

Options: ReplyQuote




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.