[Gdal-dev] Re: FW: 1.2.3

Frank Warmerdam warmerdam at pobox.com
Wed Sep 29 09:20:57 EDT 2004


Ben Discoe wrote:
> A small build fix for GDAL 1.2.3 as of the .tar.gz that's up there now.
> 
> usgsdem_create.cpp
> changg:
> #include "gdalwarper.h"
> to:
> #include "../../alg/gdalwarper.h"
> 
> This matches the example of other files, e.g. 
> 
> gdal-1.2.3\frmts\vrt\vrtwarped.cpp(51):
> #include "../../alg/gdalwarper.h"

Ben,

Actually, I would prefer to change everything to not using the
relative paths for the includes.  The "alg" directive is now required to
be in the include path for builds of GDAL and GDALmake.opt.in and nmake.opt
were updated accordingly.

For some clients I actually deliver all of GDAL as a single amorphous
directory of library code for simplier integration into other build
environments.  In these cases the relative paths cause problems.

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 Gdal-dev mailing list