Обсуждение: libpq++ - getting it to work

Поиск
Список
Период
Сортировка

libpq++ - getting it to work

От
"Eric H. Buschelmann"
Дата:
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@iac.net