[osgeo4w-dev] OSGeo4W 64bit shell and PATH

Julien Malik julien.malik at c-s.fr
Thu Nov 14 07:33:31 PST 2013


Hi Jürgen,

On 11/14/2013 12:35 PM, Jürgen E. Fischer wrote:
> Yes, and both 32bit and 64bit should do that.  

Unless I hand-modified the bat file (don't think I did), OSGeo4W.bat does :
set PATH=%OSGEO4W_ROOT%\bin;%PATH%
in the 32bit version (line 8).

>
> I use alternative batch files to start my devenv. E.g.:
>
> set pf=%ProgramFiles(x86)%
> if "%pf%"=="" set pf=%ProgramFiles%
> call "%pf%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64
> path %pf%\CMake 2.8\bin;%pf%\Microsoft Visual Studio 10.0\Common7\IDE;%PATH%
> call "C:\OSGeo4W64\bin\o4w_env.bat"
> call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3\etc\env.bat
> set LIB=%LIB%;%OSGEO4W_ROOT%\lib
> set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
> PATH %PATH%;c:\cygwin\bin
> @cmd

Let's do that, then...
Thanks for sharing.

Julien



More information about the osgeo4w-dev mailing list