Re: kdevelop -> libpq-fe.h ( part II )

From: Hugh Lawson <hlawson(at)triad(dot)rr(dot)com>
To: Eduardo <ekotuja(at)brasilnet(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: kdevelop -> libpq-fe.h ( part II )
Date: 2000-08-16 01:21:13
Message-ID: Pine.LNX.4.10.10008152107380.4194-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, 15 Aug 2000, Eduardo wrote:

>
> The libpg-fe.h is in /usr/include/pgsql/libpq-fe.h
> so i did:
>
> #include "../include/pgsql/libpq-fe.h"
>
> and the message changed:
>

If you use the gcc C compiler try a command something like this:

gcc -o program program.c -lpq -I/usr/include/pgsql

# 'program' is name of executable to produce
# 'program.c' is name of source file being compiled
# '-lpq' means "link against libpq"
# '-I/usr/include/pgsql' directory that contains libpq-fe.h

See 'info gcc' for full rundown on this compiler.

--
Hugh Lawson
Greensboro, North Carolina
hlawson(at)triad(dot)rr(dot)com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Robinson, Marlena CECOM RDEC I2WD 2000-08-16 15:59:54 how to use GUI
Previous Message Jesus Aneiros 2000-08-16 01:14:42 Re: kdevelop -> libpq-fe.h ( part II )