From: | "Vasquez, Jason" <Jason(dot)Vasquez(at)Connect(dot)Xerox(dot)com> |
---|---|
To: | "'pgsql-interfaces(at)hub(dot)org'" <pgsql-interfaces(at)hub(dot)org> |
Subject: | PgConnection |
Date: | 1998-10-21 19:37:00 |
Message-ID: | C1CB538EFB88D111A60200805FBB99118B7663@CINMSG1 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
I have just installed PostgreSQL, and the installation took place with no
problems/errors.
I've read the documentation about using the C++ interface to Postgres, but I
seem to be havin trouble getting anything to compile. Following the example
included with the distribution, I have done something similar to this:
#include <iostream.h>
#include <libpq++.h>
void main() {
PgDatabase data ("foo");
yadayadayada
}
Whenever I do this, I get a compile error stating that there is an undefined
reference to PgConnection. Has anyone had a similar situation, or know how
to remedy this?
Thanks,
-Jason
From | Date | Subject | |
---|---|---|---|
Next Message | Byron Nikolaidis | 1998-10-21 21:53:13 | Re: [INTERFACES] C++ Builder (Delphi), ODBC and large objects |
Previous Message | Sergio | 1998-10-21 16:44:42 | Re: [INTERFACES] C++ Builder (Delphi), ODBC and large objects |