Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2011 14:10:09 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Bruce Meier <bruce@hawaii-pacific.com>
Subject:   Re: postgresql-libpqxx
Message-ID:  <201108171410.09454.pieter@degoeje.nl>
In-Reply-To: <4E42D5F7.9010702@hawaii-pacific.com>
References:  <4E42D5F7.9010702@hawaii-pacific.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, August 10, 2011 09:03:19 PM Bruce Meier wrote:
> I have installed postgresql-libpqxx and included it in a test program
> and get the following error:
> "main.cpp:1:21: error: pqxx/pqxx: No such file or directory".

Hi,

Did you add -I/usr/local/include to the compiler flags of the test program?
All ports install their headers there.

Regards,
Pieter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108171410.09454.pieter>