libpq++ - getting it to work

From: "Eric H(dot) Buschelmann" <ehb(at)wishbone(dot)iac(dot)net>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpq++ - getting it to work
Date: 1998-09-14 02:37:47
Message-ID: Pine.LNX.3.96.980913213525.27573A-100000@wishbone.iac.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


I have been using Postgres for about 6 months now with the Perl interface,
and now I want to venture out to the C++ realm.

I am simply trying to compile the following program:

------main.cpp--------------

#include <iostream.h>
#include <libpq++.h>

int main ()
{

cout << "The fun begins...\n";

return (0);

}

---------

when I do a: gcc main.cpp

I get:

In file included from /usr/local/include/libpq++/pgconnection.h:25,
from /usr/local/include/libpq++.h:26,
from main.cpp:3:
/usr/local/include/libpq++/libpq-fe.h:28: libpq/pqcomm.h: No such file or
directory
/usr/local/include/libpq++/libpq-fe.h:29: lib/dllist.h: No such file or
directory

-------------

Does anyone have a BEGINNER's guide to installing the interface and basic
usage??

Thank you in advance!

Eric Buschelmann
ehb(at)iac(dot)net

Browse pgsql-interfaces by date

  From Date Subject
Next Message Eric H. Buschelmann 1998-09-14 02:56:03 Thanks
Previous Message Mario Ajzerle 1998-09-13 23:55:43 Web server and database on different machines