Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group