MySQL Forums
Forum List  »  Connector/C++

Re: Error: undefined reference to get_driver_instance
Posted by: Diné le Roux
Date: January 15, 2010 05:34AM

Hi there,

I was wondering if you could help me. I am also getting the error
undefined reference to `_imp___ZN3sql5mysql25get_mysql_driver_instanceEv'

Which I guess means my mysqlcppconn library is not being picked up by eclipse.

In the folder C:\eclipse\lib I have three files:
mysqlcppconn.lib
mysqlcppconn-static.lib
mysqlcppconn.dll

I have linker search path: -LC:\eclipse\lib
and then -lmysqlcppconn

Any idea what I might be doing wrong? What is the .so file you refer to?

Diné

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.