[Mapserver-users] Postgis-Mapserver Compilation How to...

Swaminathan, Gayathri gayathri@ou.edu
Wed, 23 Apr 2003 16:48:59 -0500


Hello List,

This problem is baffling me. Here is what I have.

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
pointers..
Thanks,
Gayathri

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users