[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Stephane Goldstein s.n.g at gmx.com
Fri Apr 26 08:07:44 PDT 2013


Hello.

I'm having the exact same problem.
I think maybe it's related to a Grass RC2 to RC3 update.
The file called when you open QGIS 1.8 is C:\OSGeo4W\bin\qgis.bat
I opened that file and I have:

@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3RC2\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin;%OSGEO4W_ROOT%\apps\grass\grass-6.4.3RC2\lib
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\apps\qgis\bin\qgis.exe %*

But since I updated Grass, the file
C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\env.bat
and the folder
C:\OSGeo4W\apps\grass\grass-6.4.3RC2\lib
don't existe anymore.

I opened the file that calls QGIS-dev (C:\OSGeo4W\bin\qgis-dev.bat) and it points to the new install of GRASS 6.4.3RC3:

@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3RC3\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis-dev\bin;%OSGEO4W_ROOT%\apps\grass\grass-6.4.3RC3\lib
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis-dev
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\bin\qgis-dev.exe %*

I tried then to tweak C:\OSGeo4W\bin\qgis.bat but with no sucess.

Can anyone help ?

Thanks

stephane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130426/7aec4c69/attachment.html>


More information about the Qgis-developer mailing list