Hi,
sorry, have not really been following this thread... but better late
then never.
* Keshava Krishna <keshavkrishna88@stripped> [091111 13:44]:
> Let me be precise,
> this is my code
>
> #include </usr/local/include/mysql++/mysql++.h>
> #include <iostream>
>
> int main(int argc, char** argv)
> {
>
> }
From the subject it seems you are using Ubuntu, but from your first
#include above it seems you installed mysql++ by hand.
> and i have include following runtime search paths
> /usr/lib, /usr/local/mysql/lib, /usr/local/lib
>
>
> On Wed, Nov 11, 2009 at 10:02 AM, Keshava Krishna <keshavkrishna88@stripped
> > wrote:
>
> > By ../lib i mean all lib directories...
> > and 'm using netbeans. I have included these directories in project
> > properties.
Ouch, netbeans?
Why not remove that from the equation and start trying to compile
normally and see how that goes.
Please put the following in a file called foo.cc
#include "mysql++/mysql++.h"
int main(int argc, char** argv)
{
}
Then try to compile with
g++ -I/usr/local/include foo.cc
We can build from there.
HTH,
Nick.
> > Sorry for misleading you.
> >
> > Regards,
> > Keshava.
> > +919449554001
> >
> >
> >
> > On Wed, Nov 11, 2009 at 9:21 AM, Warren Young <mysqlpp@stripped>
> wrote:
> >
> >> Keshava Krishna wrote:
> >>
> >>> and i have included the ../lib directories
> >>>
> >>
> >> What is your exact compilation command? It worries me that you're
> >> apparently using relative paths. If you mean ".." as a kind of wild card,
> >> don't do that. ".." means something specific.
> >>
> >>
> >> --
> >> MySQL++ Mailing List
> >> For list archives: http://lists.mysql.com/plusplus
> >> To unsubscribe:
> >> http://lists.mysql.com/plusplus?unsub=1
> >>
> >>
> >