Re: kdevelop -> libpq-fe.h ( part II )
Hugh Lawson <hlawson@triad.rr.com>
From: Hugh Lawson <hlawson@triad.rr.com>
To: Eduardo <ekotuja@brasilnet.net>
Cc: pgsql-novice@postgresql.org
Date: 2000-08-16T01:21:13Z
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@triad.rr.com