[Mapserver-users] Postgis-Mapserver Compilation How to...
Swaminathan, Gayathri
gayathri at ou.edu
Wed Apr 23 14:48:59 PDT 2003
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
More information about the MapServer-users
mailing list