Error while including PQXX library - Mailing list pgsql-general

From aravind chandu
Subject Error while including PQXX library
Date
Msg-id 836874.47829.qm@web31405.mail.mud.yahoo.com
Whole thread Raw
Responses Re: Error while including PQXX library  (Richard Huxton <dev@archonet.com>)
Re: Error while including PQXX library  (Malinka Rellikwodahs <aelmalinka@gmail.com>)
List pgsql-general
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.

Thanks,
Aravind.



pgsql-general by date:

Previous
From: Sebastien FLAESCH
Date:
Subject: Re: INTERVAL data type and libpq - what format?
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: Get block of N numbers from sequence