[GRASS-dev] Re: [GRASS GIS] #885: WinGrass: displaying
r.external-linked raster data not working
GRASS GIS
trac at osgeo.org
Fri Jan 29 15:32:45 EST 2010
#885: WinGrass: displaying r.external-linked raster data not working
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Display | Version: svn-releasebranch64
Resolution: | Keywords: r.external, WinGrass, osgeo4w
Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Comment (by hellik):
Replying to [comment:11 glynn]:
>
> {{{
> Index: gdal.c
> ===================================================================
> --- gdal.c (revision 40542)
> +++ gdal.c (working copy)
> @@ -102,11 +102,19 @@
> {
> load_library();
>
> +# ifdef _WIN32
> + pGDALAllRegister = get_symbol("_GDALAllRegister at 0");
> + pGDALOpen = get_symbol("_GDALOpen at 8");
> + pGDALClose = get_symbol("_GDALClose at 4");
> + pGDALGetRasterBand = get_symbol("_GDALGetRasterBand at 8");
> + pGDALRasterIO = get_symbol("_GDALRasterIO at 48");
> +#else
> pGDALAllRegister = get_symbol("GDALAllRegister");
> pGDALOpen = get_symbol("GDALOpen");
> pGDALClose = get_symbol("GDALClose");
> pGDALGetRasterBand = get_symbol("GDALGetRasterBand");
> pGDALRasterIO = get_symbol("GDALRasterIO");
> +#endif
> }
>
> #else /* GDAL_DYNAMIC */
> }}}
>
patch applied by r40741 to Grass64 (see r40714)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/885#comment:20>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list