#885: WinGrass: displaying r.external-linked raster data not working
------------------------------+---------------------------------------------
Reporter: hellik | Owner: [email protected]
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Display | Version: svn-releasebranch64
Resolution: | Keywords: r.external, WinGrass
Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Comment (by glynn):
Replying to [comment:6 neteler]:
> It seems that gdal.c depends on lib/gis/counter.c which isn't in 6.x.
> Add that as well?
That's overkill; I would just add the following to gdal.c:
{{{
static int G_is_initialized(int *p)
{
return *p;
}
static void G_initialize_done(int *p)
{
*p = 1;
}
}}}
counter.c was added to 7.0 to support multi-threaded code, which wouldn't
work in 6.x without a lot of other changes.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/885#comment:7>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev