| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | November 11 2009 7:21am |
| Subject: | Re: installing MySql/C++ in ubuntu 9.04 | ||
| View as plain text | |||
On Nov 10, 2009, at 9:44 PM, Keshava Krishna wrote: > Let me be precise, > this is my code > > #include </usr/local/include/mysql++/mysql++.h> > #include <iostream> > > int main(int argc, char** argv) > { > > } > > and i have include following runtime search paths > /usr/lib, /usr/local/mysql/lib, /usr/local/lib Change that first #include back to the way you had it in the original post. You're making the compiler look for things like /usr/local/ mysql/lib/usr/local/include/mysql++/mysql++.h with this mess. If you made this change in reaction to my comment about absolute paths, I only meant that in regards to -I flags for pointing the compiler to the MySQL and MySQL++ headers and libraries. Relative paths are exactly what you want in your #includes.
| Thread | ||
|---|---|---|
| • installing MySql/C++ in ubuntu 9.04 | Keshava Krishna | 7 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Warren Young | 9 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Keshava Krishna | 10 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Warren Young | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Keshava Krishna | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Keshava Krishna | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Nick Hastings | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Keshava Krishna | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Nick Hastings | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Warren Young | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Warren Young | 11 Nov |
| • Re: installing MySql/C++ in ubuntu 9.04 | Warren Young | 11 Nov |
