[Gdal-dev] How to build GDAL/OGR w/ PostGIS support on Windows

Carl Anderson carl.anderson at vadose.org
Sun Nov 16 11:29:46 EST 2003


On 11/15/2003 10:16:04 PM, Howard butler wrote:
> Hello,
> 
> Here's where I'm at at this point.  I have libpq compiled.  After  
> running the configure on Linux, I saw that it was setting options in  
> the make file, and I copied something like it in nmake.opt:
> 
> HAVE_OGR_PG     = yes
> PG_LIB	= E:\build\postgres\postgresql-7.3.4\src\interfaces 
> \libpq\Release\libpq.lib
> PG_INCLUDE	=	E:\build\postgres\postgresql-7.3.4\src\include
>

you need to set

HAVE_OGR_PG
PG_LIB
PG_DIR
PG_INC_DIR

PG_INC_DIR is used not PG_INCLUDE







More information about the Gdal-dev mailing list