[Mapserver-dev] Re: v4.3 and mapogr.cpp
Frank Warmerdam
warmerdam at pobox.com
Tue Jun 1 14:56:44 EDT 2004
Brent Fraser wrote:
> Frank,
>
> I downloaded the nightly snapshot on Monday and attemped to build
> Mapserver without OGR. I disabled OGR in nmake.opt (for Mapserver and
> GDAL), but mapogr.cpp (line 136) is doing a
>
> # include "ogr_spatialref.h"
>
> if USE_OGR or USE_GDAL is set (I'm using GDAL but not OGR at this
> stage). I tweeked nmake.opt to add the ogr directory (line 395):
>
> GDAL_INC = -I$(GDAL_DIR)/gcore -I$(GDAL_DIR)/alg -I$(GDAL_DIR)/port
> -I$(GDAL_DIR)/ogr
>
> but I'm not sure this is the "correct" fix.
>
> Thought you should know...
Brent,
This is indeed the correct fix. I have committed the nmake.opt change to CVS.
The GDAL driver uses the same spatialreference stuff as the OGR side and it comes
from the ogr directory.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list