Re: Error while including PQXX library

Поиск
Список
Период
Сортировка
От Malinka Rellikwodahs
Тема Re: Error while including PQXX library
Дата
Msg-id aa2a0fc0905191204m5f308d21x74de8581a8df8df6@mail.gmail.com
обсуждение исходный текст
Ответ на Error while including PQXX library  (aravind chandu <avin_friends@yahoo.com>)
Список pgsql-general
On Tue, May 19, 2009 at 12:37, aravind chandu <avin_friends@yahoo.com> wrote:
> Hello,
>
>           I wrote a small program in cpp which uses pqxx API.The file that i
> included are
>
>           #include <pqxx/connection>
>           #include <pqxx/transaction>
>
>          After compiling i got the following error :
>         prog29.cpp:5:21: pqxx/connection: No such file or directory
>         prog29.cpp:5:21: pqxx/transaction: No such file or directory
>
>         I checked the include directory and all these files were there,but i
> don't know why i got these errors.Can you guys please help me to solve this
> problem.

Random guess but check that your include path points to the directory
containing the pqxx director, for example if you're connection and
transaction header files are in some/path/include/pqxx make sure you
add to the compiler some/path/include not some/path/include/pqxx

>
> Thanks,
> Aravind.
>
>
>
>

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Error while including PQXX library
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Locking to restrict rowcounts.