Re: Error while including PQXX library

From: Richard Huxton <dev(at)archonet(dot)com>
To: aravind chandu <avin_friends(at)yahoo(dot)com>
Cc: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error while including PQXX library
Date: 2009-05-19 18:43:11
Message-ID: 4A12FDBF.9040203@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Glen Parker 2009-05-19 18:52:46 Re: Locking to restrict rowcounts.
Previous Message Richard Huxton 2009-05-19 18:38:46 Re: Locking to restrict rowcounts.