[GRASS-dev] Compiling GRASS on MS-Windows ¶

Helmut Kudrnovsky hellik at web.de
Thu May 19 00:52:21 PDT 2016


hi,

a new laptop and time to set up a new winGRASS build environment. :-)

some questions regarding the compiling guide in 

https://trac.osgeo.org/grass/wiki/CompileOnWindows

(1)

regarding section: "Install the MSYS2 directory structure": 

I guess that the msys is installed in e.g. C:\msys64

(2)

then in the next section "Compiling and Installing GRASS GIS":

Start MSYS2 terminal - mingw32_shell.bat (32bit) or mingw64_shell.bat
(64bit).

Am I right that the 2 lines

https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/package.sh#L43
	export OSGEO4W_ROOT_MSYS="/c/OSGeo4W${OSGEO4W_POSTFIX}"

https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/package.sh#L44
	export OSGEO4W_ROOT="C:\\\OSGeo4W${OSGEO4W_POSTFIX}"

should add the OSGeo4W environment to $PATH by

https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/package.sh#L46

export
PATH=/usr/bin:/mingw${MINGW_POSTFIX}/bin/:$OSGEO4W_ROOT_MSYS/bin:$PWD/mswindows/osgeo4w/lib

?

(3)

"Download GRASS source code"

where should svn checkout to be done?

C:\OSGeo4W64\usr\src
C:\msys64\usr\src

?

thanks



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Compiling-GRASS-on-MS-Windows-tp5267154.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list