[GRASS-dev] Seeking advices for image segmentation algorithms and windows compile question
Yang, Bo (yangb2)
yangb2 at mail.uc.edu
Wed May 11 21:33:54 PDT 2016
Hi Helmut,
Thanks for the help. Now I think I sort of solved the issue. Below are the updates:
1)
>could you do following steps to test if there is some interference with
>other python installation?
>- rename the ArcGIS python installation folder temporarily (e.g. Python27 ->
Yyypython27)
>- do the same with the anaconda python installation folder
>- try to start start again your self compiled winGRASS 7.1svn
>- report back here if your self compiled winGRASS 7.1svn starts or not
>- rename back the both folders
I did it. Even changed the python27 folders name, winGRASS 7.1svn can not start either, and it reported the same error. I think it not python's problem.
2)
>for a workaround see:
>https://trac.osgeo.org/grass/ticket/3011#comment:4
>and see
>https://grass.osgeo.org/grass71/manuals/grass7.html
>howto start grass71 in text mode and then start the GUI:
>e.g. in the OSGeo4W-console:
----------------
C:\>grass71svn.bat -text C:\grassdata\test3035\data
C:\>g.gui wxpython
----------------
Thanks! I tried and both text mode and g.gui mode are able to start GRASS71svn without any issue. So I think I came across the exactly same situation reported in that ticket case.
3)
>ok, good to know that it compiles now.
>for the error message, see
>https://trac.osgeo.org/grass/ticket/3011
>I'll add your example to the ticket.
>if you have another windows box without another python installation, try to
compile there until this ticket is solved.
Actually, I created 2 clean installed VM win7. One is win7 pro 64 bit, the other is win 7 pro 32bit (for the 64 bit system, I use 64bit version of Osgeo4w and msys, and vice versa). I follow the same tutorial. This time it's very clean system without any software installed. But neither can successfully built the GRASS 71svn.
For the 32 bit version system the error:
-------------------------
GRASS GIS 7.1.svn r68419 compilation log
--------------------------------------------------
Started compilation: Wed, May 11, 2016 7:34:55 PM
--
Errors in:
/usr/src/grass_trunk/lib/python/ctypes
/usr/src/grass_trunk/display/d.grid
/usr/src/grass_trunk/display/d.path
/usr/src/grass_trunk/display/d.vect
/usr/src/grass_trunk/display/d.vect.chart
/usr/src/grass_trunk/display/d.vect.thematic
/usr/src/grass_trunk/display/d.where
/usr/src/grass_trunk/general/g.copy
/usr/src/grass_trunk/general/g.findfile
/usr/src/grass_trunk/general/g.list
/usr/src/grass_trunk/general/g.proj
/usr/src/grass_trunk/general/g.region
/usr/src/grass_trunk/general/g.remove
/usr/src/grass_trunk/general/g.rename
/usr/src/grass_trunk/raster/r.carve
/usr/src/grass_trunk/raster/r.contour
/usr/src/grass_trunk/raster/r.cost
/usr/src/grass_trunk/raster/r.drain
/usr/src/grass_trunk/raster/r.external
/usr/src/grass_trunk/raster/r.external.out
/usr/src/grass_trunk/raster/r.flow
/usr/src/grass_trunk/raster/r.horizon
/usr/src/grass_trunk/raster/r.in.gdal
/usr/src/grass_trunk/raster/r.in.lidar
/usr/src/grass_trunk/raster/r.latlong
/usr/src/grass_trunk/raster/r.out.gdal
/usr/src/grass_trunk/raster/r.proj
/usr/src/grass_trunk/raster/r.random
/usr/src/grass_trunk/raster/r.reclass
/usr/src/grass_trunk/raster/r.region
/usr/src/grass_trunk/raster/r.resamp.bspline
/usr/src/grass_trunk/raster/r.resamp.rst
/usr/src/grass_trunk/raster/r.sim/r.sim.water
/usr/src/grass_trunk/raster/r.sim/r.sim.sediment
/usr/src/grass_trunk/raster/r.stream.extract
/usr/src/grass_trunk/raster/r.sun
/usr/src/grass_trunk/raster/r.sunhours
/usr/src/grass_trunk/raster/r.sunmask
/usr/src/grass_trunk/raster/r.to.vect
/usr/src/grass_trunk/raster/r.volume
/usr/src/grass_trunk/raster/r.walk
/usr/src/grass_trunk/raster/r.what
/usr/src/grass_trunk/raster3d/r3.flow
/usr/src/grass_trunk/raster3d/r3.in.lidar
/usr/src/grass_trunk/vector/v.buffer
/usr/src/grass_trunk/vector/v.build
/usr/src/grass_trunk/vector/v.build.polylines
/usr/src/grass_trunk/vector/v.category
/usr/src/grass_trunk/vector/v.class
/usr/src/grass_trunk/vector/v.clean
/usr/src/grass_trunk/vector/v.cluster
/usr/src/grass_trunk/vector/v.colors
/usr/src/grass_trunk/vector/v.colors.out
/usr/src/grass_trunk/vector/v.db.connect
/usr/src/grass_trunk/vector/v.db.select
/usr/src/grass_trunk/vector/v.decimate
/usr/src/grass_trunk/vector/v.delaunay
/usr/src/grass_trunk/vector/v.distance
/usr/src/grass_trunk/vector/v.drape
/usr/src/grass_trunk/vector/v.edit
/usr/src/grass_trunk/vector/v.extract
/usr/src/grass_trunk/vector/v.extrude
/usr/src/grass_trunk/vector/v.generalize
/usr/src/grass_trunk/vector/v.hull
/usr/src/grass_trunk/vector/v.info
/usr/src/grass_trunk/vector/v.in.ascii
/usr/src/grass_trunk/vector/v.in.db
/usr/src/grass_trunk/vector/v.in.dxf
/usr/src/grass_trunk/vector/v.in.region
/usr/src/grass_trunk/vector/v.kcv
/usr/src/grass_trunk/vector/v.kernel
/usr/src/grass_trunk/vector/v.label
/usr/src/grass_trunk/vector/v.lidar.correction
/usr/src/grass_trunk/vector/v.lidar.edgedetection
/usr/src/grass_trunk/vector/v.lidar.growing
/usr/src/grass_trunk/vector/v.lrs/v.lrs.create
/usr/src/grass_trunk/vector/v.lrs/v.lrs.segment
/usr/src/grass_trunk/vector/v.lrs/v.lrs.label
/usr/src/grass_trunk/vector/v.lrs/v.lrs.where
/usr/src/grass_trunk/vector/v.proj
/usr/src/grass_trunk/vector/v.mkgrid
/usr/src/grass_trunk/vector/v.neighbors
/usr/src/grass_trunk/vector/v.net
/usr/src/grass_trunk/vector/v.net.alloc
/usr/src/grass_trunk/vector/v.net.allpairs
/usr/src/grass_trunk/vector/v.net.bridge
/usr/src/grass_trunk/vector/v.net.centrality
/usr/src/grass_trunk/vector/v.net.components
/usr/src/grass_trunk/vector/v.net.connectivity
/usr/src/grass_trunk/vector/v.net.distance
/usr/src/grass_trunk/vector/v.net.flow
/usr/src/grass_trunk/vector/v.net.iso
/usr/src/grass_trunk/vector/v.net.path
/usr/src/grass_trunk/vector/v.net.salesman
/usr/src/grass_trunk/vector/v.net.spanningtree
/usr/src/grass_trunk/vector/v.net.steiner
/usr/src/grass_trunk/vector/v.net.timetable
/usr/src/grass_trunk/vector/v.net.visibility
/usr/src/grass_trunk/vector/v.normal
/usr/src/grass_trunk/vector/v.out.ascii
/usr/src/grass_trunk/vector/v.out.dxf
/usr/src/grass_trunk/vector/v.out.lidar
/usr/src/grass_trunk/vector/v.out.postgis
/usr/src/grass_trunk/vector/v.out.pov
/usr/src/grass_trunk/vector/v.out.svg
/usr/src/grass_trunk/vector/v.out.vtk
/usr/src/grass_trunk/vector/v.outlier
/usr/src/grass_trunk/vector/v.overlay
/usr/src/grass_trunk/vector/v.parallel
/usr/src/grass_trunk/vector/v.patch
/usr/src/grass_trunk/vector/v.perturb
/usr/src/grass_trunk/vector/v.split
/usr/src/grass_trunk/vector/v.qcount
/usr/src/grass_trunk/vector/v.random
/usr/src/grass_trunk/vector/v.reclass
/usr/src/grass_trunk/vector/v.rectify
/usr/src/grass_trunk/vector/v.sample
/usr/src/grass_trunk/vector/v.segment
/usr/src/grass_trunk/vector/v.select
/usr/src/grass_trunk/vector/v.support
/usr/src/grass_trunk/vector/v.surf.bspline
/usr/src/grass_trunk/vector/v.surf.idw
/usr/src/grass_trunk/vector/v.surf.rst
/usr/src/grass_trunk/vector/v.transform
/usr/src/grass_trunk/vector/v.to.3d
/usr/src/grass_trunk/vector/v.to.db
/usr/src/grass_trunk/vector/v.to.points
/usr/src/grass_trunk/vector/v.to.rast
/usr/src/grass_trunk/vector/v.to.rast3
/usr/src/grass_trunk/vector/v.type
/usr/src/grass_trunk/vector/v.univar
/usr/src/grass_trunk/vector/v.voronoi
/usr/src/grass_trunk/vector/v.what
/usr/src/grass_trunk/vector/v.what.rast
/usr/src/grass_trunk/vector/v.what.rast3
/usr/src/grass_trunk/vector/v.vect.stats
/usr/src/grass_trunk/vector/v.vol.rst
/usr/src/grass_trunk/vector/v.out.ogr
/usr/src/grass_trunk/vector/v.in.ogr
/usr/src/grass_trunk/vector/v.external
/usr/src/grass_trunk/vector/v.in.lidar
/usr/src/grass_trunk/vector/v.external.out
/usr/src/grass_trunk/misc/m.nviz.image
/usr/src/grass_trunk/misc/m.transform
/usr/src/grass_trunk/imagery/i.cca
/usr/src/grass_trunk/imagery/i.cluster
/usr/src/grass_trunk/imagery/i.gensig
/usr/src/grass_trunk/imagery/i.gensigset
/usr/src/grass_trunk/imagery/i.group
/usr/src/grass_trunk/imagery/i.maxlik
/usr/src/grass_trunk/imagery/i.ortho.photo/i.ortho.camera
/usr/src/grass_trunk/imagery/i.ortho.photo/i.ortho.elev
/usr/src/grass_trunk/imagery/i.ortho.photo/i.ortho.rectify
/usr/src/grass_trunk/imagery/i.rectify
/usr/src/grass_trunk/imagery/i.segment
/usr/src/grass_trunk/imagery/i.smap
/usr/src/grass_trunk/imagery/i.target
/usr/src/grass_trunk/imagery/i.pca
/usr/src/grass_trunk/ps/ps.map
/usr/src/grass_trunk/scripts/v.what.strds
/usr/src/grass_trunk/temporal/t.create
/usr/src/grass_trunk/temporal/t.support
/usr/src/grass_trunk/temporal/t.topology
/usr/src/grass_trunk/temporal/t.list
/usr/src/grass_trunk/temporal/t.info
/usr/src/grass_trunk/temporal/t.merge
/usr/src/grass_trunk/temporal/t.remove
/usr/src/grass_trunk/temporal/t.sample
/usr/src/grass_trunk/temporal/t.register
/usr/src/grass_trunk/temporal/t.unregister
/usr/src/grass_trunk/temporal/t.rast.accumulate
/usr/src/grass_trunk/temporal/t.rast.accdetect
/usr/src/grass_trunk/temporal/t.rast.aggregate
/usr/src/grass_trunk/temporal/t.rast.aggregate.ds
/usr/src/grass_trunk/temporal/t.rast.colors
/usr/src/grass_trunk/temporal/t.rast.contour
/usr/src/grass_trunk/temporal/t.rast.to.rast3
/usr/src/grass_trunk/temporal/t.rast.univar
/usr/src/grass_trunk/temporal/t.rast.list
/usr/src/grass_trunk/temporal/t.rast.mapcalc
/usr/src/grass_trunk/temporal/t.rast.algebra
/usr/src/grass_trunk/temporal/t.rast.neighbors
/usr/src/grass_trunk/temporal/t.rast.series
/usr/src/grass_trunk/temporal/t.rast.export
/usr/src/grass_trunk/temporal/t.rast.out.vtk
/usr/src/grass_trunk/temporal/t.rast.import
/usr/src/grass_trunk/temporal/t.rast.gapfill
/usr/src/grass_trunk/temporal/t.rast.extract
/usr/src/grass_trunk/temporal/t.rast.to.vect
/usr/src/grass_trunk/temporal/t.rast.what
/usr/src/grass_trunk/temporal/t.rast3d.list
/usr/src/grass_trunk/temporal/t.rast3d.extract
/usr/src/grass_trunk/temporal/t.rast3d.mapcalc
/usr/src/grass_trunk/temporal/t.rast3d.algebra
/usr/src/grass_trunk/temporal/t.rast3d.univar
/usr/src/grass_trunk/temporal/t.rename
/usr/src/grass_trunk/temporal/t.select
/usr/src/grass_trunk/temporal/t.snap
/usr/src/grass_trunk/temporal/t.shift
/usr/src/grass_trunk/temporal/t.vect.list
/usr/src/grass_trunk/temporal/t.vect.db.select
/usr/src/grass_trunk/temporal/t.vect.export
/usr/src/grass_trunk/temporal/t.vect.extract
/usr/src/grass_trunk/temporal/t.vect.algebra
/usr/src/grass_trunk/temporal/t.vect.import
/usr/src/grass_trunk/temporal/t.vect.what.strds
/usr/src/grass_trunk/temporal/t.vect.observe.strds
/usr/src/grass_trunk/temporal/t.vect.univar
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed, May 11, 2016 7:47:43 PM
-------------------------
For the 64 bit version the error report:
---------------------
>Errors in:
>/usr/src/grass_trunk/raster/r.in.lidar
>/usr/src/grass_trunk/raster3d/r3.in.lidar
>/usr/src/grass_trunk/vector/v.out.lidar
>/usr/src/grass_trunk/vector/v.in.lidar
---------------------
Though I think I should report those error to you, good thing is that I can start GRASS71svn now using command line. For the time being I can move forward and to see if I can found some more solutions during the future work. Thanks again for your patient answer.
Best,
Bo yang
More information about the grass-dev
mailing list