[postgis-users] Postgis and Mapserver

Swaminathan, Gayathri gayathri at ou.edu
Thu Apr 24 13:50:19 PDT 2003


Hello List,

This problem is baffling me. Here is what I have.I am not really sure if
this is a postgis or mapserver question so,
I submitted the following to both lists.

A libpqdll.lib of this url,

http://www.vso.cape.com/~nhv/files/postgres/libpq.lib.tgz

and the following lines in my mapserver makefile.vc

# Optional PostGIS Support.  See http://postgis.refractions.net/
POSTGIS_DIR=  ..\libpq_msvc_731
POSTGIS_LIB=  $(GDAL_DIR)/libpq.lib
POSTGIS_INC=  -I$(GDAL_DIR)

POSTGIS=-DUSE_POSTGIS

The compilation runs fine and I get mapserv exe's...But for some reason the
-DUSE_POSTGIS never happens..and I dont get a mapserv with Postgis support
hence...

Can anyone tell me what am I doing wrong.I sincerely would appreciate any
help.

Thanks,
Gayathri




More information about the postgis-users mailing list