Opened 15 years ago

Closed 15 years ago

#913 closed defect (fixed)

(windows) r.external does not work in both osgeo4w and standalone packages

Reported by: lutra Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: Raster Version: 6.4.0 RCs
Keywords: r.external, WinGrass, osgeo4w Cc:
CPU: x86-32 Platform: MSWindows XP

Description

When using r.external under windows trough qgis, the module finishes correctly, but then when adding the raster to canvas the program returns the following warnings

Cannot draw raster
Cannot start module
command: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.d.rast.exe map=land@demo window=-7.1176e+06,1.32961e+06,4.89704e+06,7.80968e+06,1184,639<br><br>
GRASS_INFO_ERROR(2864,1): Unable to locate symbol <GDALAllRegister>
GRASS_INFO_END(2864,1)

and

Cannot query raster 
Cannot start module
command: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.g.info.exe info=query rast=land@demo coor=-3.89397e+06,5.61803e+06<br><br>
GRASS_INFO_ERROR(1596,1): Unable to locate symbol <GDALAllRegister>
GRASS_INFO_END(1596,1)

and the raster appears all gray.

The same kind of messages are returned if using osgeo4w GRASS (not trough QGIS) or the standalone installer

Unable to locate symbol <GDALAllRegister>

Under linux it seems to work all fine.

Change History (3)

comment:1 by neteler, 15 years ago

Keywords: r.external WinGrass osgeo4w added

To my knowledge the OSGeo4W-GRASS 6.4 binary is pretty old, there have been fixes in r40741 (see also https://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/lib/gis/gdal.c).

See also #885

comment:2 by lutra, 15 years ago

Thanks. So what is the next step, suggest the osgeo4w packager to update GRASS?

comment:3 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

Ok, I noticed that today GRASS was updated in the osgeo4w installer. I then tested r.external and all seems to works fine now.

Note: See TracTickets for help on using tickets.