Changes between Version 3 and Version 4 of BuildingOnWindows


Ignore:
Timestamp:
Jun 18, 2008, 2:04:16 AM (16 years ago)
Author:
neteler
Comment:

+develop your own GRASS modules on MS-Windows

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v3 v4  
    44
    55 * and the [http://grass.gdf-hannover.de/wiki/Compile_and_Install#MS-Windows Windows Compile and Install] page on the GRASS User Wiki.
     6
     7== develop your own GRASS modules on MS-Windows ==
     8
     9(1) download this archive: http://grass.osgeo.org/grass63/binary/mswindows/native/GRASS_MSYS_Environment.zip . It is still not updated, but it's fair enough for your job.
     10
     11(2) refer to this document on how to develop GRASS modules: http://download.osgeo.org/grass/grass6_progman/ . You don't need to build GRASS to build your own modules; the smartest way is to:
     12
     13(2a) download and install the current WinGRASS release (6.3.0-3). Refer to my building guide (http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html):
     14
     15(2b) execute steps 1 and 2 from that document
     16
     17(2c) jump to step 24, download and extract the GRASS sources tarball (it's very important that you use the same sources as the current binary release, that is 6.3.0) as suggested by the guide.
     18
     19(2d) run the configure as suggested by the guide and run the "export PATH=[...]" command
     20
     21(2e) run: make libs
     22
     23(3) assuming that you have your own module *v.in.daniel* in C:\msys\local\src\my-grass-modules\v.in.daniel:
     24
     25(3a) go to your module's source root: cd /usr/local/src/my-grass-modules/v.in.daniel
     26
     27(3b) run: make MODULE_TOPDIR=/usr/local/src/grass-6.3.0 <BR>
     28your own module's binaries will be built in: C:\msys\local\src\grass-6.3.0\dist.i686-pc-mingw32\bin
     29while the html help pages in: C:\msys\local\src\grass-6.3.0\dist.i686-pc-mingw32\docs\html
     30
     31(4) just copy the binaries and html pages to your GRASS-Install-Dir\bin and \docs\html\ respectively