[GRASS-dev] Re: [GRASS GIS] #885: WinGrass: displaying r.external-linked raster data not working

GRASS GIS trac at osgeo.org
Thu Jan 21 05:41:11 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     
  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>


More information about the grass-dev mailing list