Gino+89+
27-01-2008, 12:39
Ciao a tutti, ho scaricato la libreria myslq++ per connettermi ad un database, nel momento dell'inclusione ( #include <myslq++.h> ) non mi da errori ma basta eseguire la seguente istruzione:
mysqlpp::Connection con("house","localhost","luser","luser",1993);
Per darmi il seguente errore in fase di link:
undefined reference to `_imp___ZN7mysqlpp10ConnectionC1EPKcS2_S2_S2_jcjS2_j'
undefined reference to `mysqlpp::Connection::~Connection()'
undefined reference to `mysqlpp::Connection::~Connection()'
Process terminated with status 1 (0 minutes, 1 seconds)
3 errors, 0 warnings
Non so prorpio come risolvere il problema, qualche soluzione?
Grazie mille!
mysqlpp::Connection con("house","localhost","luser","luser",1993);
Per darmi il seguente errore in fase di link:
undefined reference to `_imp___ZN7mysqlpp10ConnectionC1EPKcS2_S2_S2_jcjS2_j'
undefined reference to `mysqlpp::Connection::~Connection()'
undefined reference to `mysqlpp::Connection::~Connection()'
Process terminated with status 1 (0 minutes, 1 seconds)
3 errors, 0 warnings
Non so prorpio come risolvere il problema, qualche soluzione?
Grazie mille!