libpq++ - getting it to work

Поиск
Список
Период
Сортировка
От Eric H. Buschelmann
Тема libpq++ - getting it to work
Дата
Msg-id Pine.LNX.3.96.980913213525.27573A-100000@wishbone.iac.net
обсуждение исходный текст
Список 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@iac.net



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Mario Ajzerle
Дата:
Сообщение: Web server and database on different machines
Следующее
От: "Eric H. Buschelmann"
Дата:
Сообщение: Thanks