| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Goddchen | Date: | February 12 2006 11:51am |
| Subject: | [Linker error] undefined reference to `mysqlpp::Connection::~Connection()' | ||
| View as plain text | |||
hi everyone... i wrote a REALY simple program ;)
#include "mysql++.h"
int main( int argc, char* argv[] )
{
mysqlpp::Connection con;
}
when i try to compile it i get the following errors:
[Linker error] undefined reference to `_imp___ZN7mysqlpp10ConnectionC1Eb'
[Linker error] undefined reference to `mysqlpp::Connection::~Connection()'
ld returned 1 exit status
i put mysql/include and mysql++/lib folder in the project settings...
and i linked mysqlpp.lib
what's wrong?
Goddchen
| Thread | ||
|---|---|---|
| • [Linker error] undefined reference to `mysqlpp::Connection::~Connection()' | Goddchen | 12 Feb |
| • Re: [Linker error] undefined reference to `mysqlpp::Connection::~Connection()' | Warren Young | 13 Feb |
| • AW: [Linker error] undefined reference to `mysqlpp::Connection::~Connection()' | Goddchen | 13 Feb |
