[GRASS-dev] Installing GRASS GIS on Windows

Jerry Huang jhuang37050 at gmail.com
Tue Dec 5 17:19:33 PST 2017


Ok I made some progress in compiling the code. I first switched to 32 bit
msys because ./configure couldn't detect the 64 bit version. I also
switched to compiling grass_trunk as I suspected something was wrong with
my grass72_release (my Platform.make file was missing). However, I ran into
different errors this time.

Below is my error.log:
/usr/src/grass_trunk/lib/python/ctypes
/usr/src/grass_trunk/raster/r.cost
/usr/src/grass_trunk/raster/r.flow
/usr/src/grass_trunk/raster/r.resamp.bspline
/usr/src/grass_trunk/raster/r.spreadpath
/usr/src/grass_trunk/raster/r.stream.extract
/usr/src/grass_trunk/raster/r.terraflow
/usr/src/grass_trunk/raster/r.viewshed
/usr/src/grass_trunk/raster/r.walk
/usr/src/grass_trunk/vector/v.lidar.correction
/usr/src/grass_trunk/vector/v.lidar.edgedetection
/usr/src/grass_trunk/vector/v.outlier
/usr/src/grass_trunk/vector/v.surf.bspline
/usr/src/grass_trunk/imagery/i.segment
/usr/src/grass_trunk/locale

Running make in ctypes gives:
Traceback (most recent call last):
  File "./ctypesgen.py", line 142, in <module>
    ctypesgencore.processor.process(descriptions, options)
  File "./ctypesgencore/processor/pipeline.py", line 58, in process
    find_source_libraries(data, options)
  File "./ctypesgencore/processor/operations.py", line 206, in
find_source_libraries
    library = ctypesgencore.libraryloader.load_library(library_name)
  File "./ctypesgencore/libraryloader.py", line 62, in load_library
    return self.load(path)
  File "./ctypesgencore/libraryloader.py", line 240, in load
    return _WindowsLibrary(path)
  File "./ctypesgencore/libraryloader.py", line 223, in __init__
    self.cdll = ctypes.cdll.LoadLibrary(path)
  File "C:/msys64/mingw32/lib/python2.7/ctypes/__init__.py", line 444, in
LoadLibrary
    return self._dlltype(name)
  File "C:/msys64/mingw32/lib/python2.7/ctypes/__init__.py", line 366, in
__init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 127] The specified procedure could not be found
make[1]: *** [Makefile:102: OBJ.i386-w64-mingw32/segment.py] Error 1
make[1]: Leaving directory '/usr/src/grass_trunk/lib/python/ctypes'
make: *** [Makefile:81: default] Error 2

On Tue, Dec 5, 2017 at 7:05 AM, Martin Landa <landa.martin at gmail.com> wrote:

> 2017-12-05 12:36 GMT+01:00 Markus Neteler <neteler at osgeo.org>:
> >> OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
> >>
> >> than post package.log to ML. Ma
> >
> > ok but please _compress_ the log file.
> > Otherwise it will not reach the list.
>
> or relevant part before it fails. Ma
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20171205/070efc72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package.log.zip
Type: application/zip
Size: 183768 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20171205/070efc72/attachment-0001.zip>


More information about the grass-dev mailing list