gdal-version.h
Frank Warmerdam
warmerdam at POBOX.COM
Tue May 2 17:39:22 PDT 2006
bessiere julien wrote:
> Hi,
> i'm trying toi install mapserver-4.8.1
> but running "make" i have an error message :
>
> mapogr.cpp:142:28: erreur: gdal_version.h : Aucun fichier ou répertoire
> de ce type
> mapogr.cpp: In function ‘int msOGRLayerGetAutoStyle(mapObj*, layerObj*,
> classObj*, int, long int)’:
> mapogr.cpp:2185: attention : ‘oPenColor$red’ may be used uninitialized
> in this function
> mapogr.cpp:2185: attention : ‘oPenColor$green’ may be used uninitialized
> in this function
> mapogr.cpp:2185: attention : ‘oPenColor$blue’ may be used uninitialized
> in this function
> mapogr.cpp:2185: attention : ‘oPenColor$pen’ may be used uninitialized
> in this function
> make: *** [mapogr.o] Erreur 1
>
> and i really can't find this gdal-version.h
Julien,
Please upgrade from GDAL 1.2.3 to GDAL 1.3.2 (or 1.3.1 possibly). I
Appologise for making mapogr.cpp depend on gdal_version.h which is
relatively recent. If you can't upgrade to the latest GDAL then
making a gdal_version.h with the version info from gdal.h would be fine
(or just include gdal.h in place of gdal_version.h in mapogr.cpp.
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 | President OSGF, http://osgeo.org
More information about the MapServer-users
mailing list