Search Postgresql Archives

Re: Error while including PQXX library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 19, 2009 at 12:37, aravind chandu <avin_friends@xxxxxxxxx> 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.
>
>
>
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux