| От | Tom Lane |
|---|---|
| Тема | Re: Including libpq++.h |
| Дата | |
| Msg-id | 23792.987729551@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Including libpq++.h (Greg Hulands <ghulands@bigpond.net.au>) |
| Список | pgsql-hackers |
Greg Hulands <ghulands@bigpond.net.au> writes:
> I am a newbie for developing with postgresql. I have included the header file
> by : #include <postgresql/libpq++.h> (I am using 7.1) When I compile it i get
> the following errors:
> In pgconnection.h
> line 41 postgres_fe.h: No such file or directory
> line 42 libpq-fe.h: No such file or directory
> The files are located in the directory above where pgconnection.h is located
You need to make that directory part of your -I search path --- not the
one above it, which is what you evidently did. Your initial include
will simplify to #include <libpq++.h>.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера