Re: Error while including PQXX library - Mailing list pgsql-general

From Richard Huxton
Subject Re: Error while including PQXX library
Date
Msg-id 4A12FDBF.9040203@archonet.com
Whole thread Raw
In response to Error while including PQXX library  (aravind chandu <avin_friends@yahoo.com>)
List pgsql-general
aravind chandu wrote:
>           #include <pqxx/connection>
>           #include <pqxx/transaction>

>         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

Doubtful. I've never heard of a header file without an extension. I'm
guessing that:
1. You are on Windows
2. You have explorer set to "hide known extensions" (it's in folder options)

Try pqxx/connection.h or whatever the extension is once you've got
explorer to display them.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Locking to restrict rowcounts.
Next
From: Malinka Rellikwodahs
Date:
Subject: Re: Error while including PQXX library