Changes between Version 310 and Version 311 of CompileOnWindows


Ignore:
Timestamp:
Dec 14, 2015, 7:13:21 AM (8 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v310 v311  
    6868pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-cairo mingw-w64-x86_64-python2-numpy mingw-w64-x86_64-sqlite3
    6969}}}
    70 == Compiling and Installing GRASS (6.4.x) ==
    71 
    72 1. Download the latest weekly snapshot GRASS 6.4.x source code from [http://grass.osgeo.org/grass64/source/snapshot/ here] (for latest SVN version, see [wiki:CompileOnWindows#GRASS6.4.svnreleasebranch_64 below])
    73 
    74 2. Unpack to {{{c:\osgeo4w\usr\src}}}
    75 
    76 3. To compile, type in MSYS console:
    77 
    78 {{{
    79 cd /osgeo4w/usr/src/grass-6.4.x (change to dir of the version you downloaded)
     70== Compiling and Installing GRASS GIS ==
     71
     72Start MSYS2 terminal - `mingw32_shell.bat` for 32bit or `mingw64_shell.bat` for 64bit.
     73
     741. Download GRASS source code (see wiki:DownloadSource for details). Example for development version (trunk):
     75
     76{{{
     77cd /usr/src
     78svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk
     79}}}
     80
     812. Switch to GRASS GIS source code directory (in our case `grass_trunk`) and run `package.sh` compilation script:
     82
     83{{{
     84cd grass_trunk
     85
     86# for release builds on 32bit
    8087./mswindows/osgeo4w/package.sh
     88
     89# for daily builds on 32bit
     90PACKAGE_POSTFIX=-daily ./mswindows/osgeo4w/package.sh
     91
     92# for release builds on 64bit
     93OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
     94
     95# for daily builds on 64bit
     96PACKAGE_POSTFIX=-daily OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
    8197}}}
    8298
    83994. Check {{{error.log}}} for any error messages and {{{mswindows/osgeo4w/package.log}}} if you're having problems.
    84100
    85 GRASS should now be installed in {{{c:\osgeo4w\apps\grass\grass-6.4.x}}}
     101GRASS GIS should now be installed in {{{c:\osgeo4w\apps\grass\grass-7.1.svn}}}.
    86102
    87103=== Usage ===