[GRASS-dev] Seeking advices for image segmentation algorithms and windows compile question

Yang, Bo (yangb2) yangb2 at mail.uc.edu
Sun May 8 21:12:12 PDT 2016


Hi All,

Thanks Moritz! Actually, this weekend I've tried both. I assume win10 is too new so I tried win 7 and win8.1 using different computers. I followed same tutorial [0], after I compiled for release builds on 64bit, I got the error report for both win 7 and win 8.1 OS:
>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

I tried to change into the directory with error and run 'make'. The error msg was long and I think I need time to read them.

I've also tried compile GRASS on VM OS X El Captain using homebrew[1] first. But got stuck at:

brew install --HEAD grass-71
==>Installing grass-71 from rkrug/head-only
==>Cloning https://svn.osgeo.org/grass/grass/trunk
then the terminal freezing here forever. 

Sorry for the slow progress. I think I need more time to do the research work. Any help would be appreciated.

Best,
Bo Yang


[0] https://trac.osgeo.org/grass/wiki/CompileOnWindows
[1] https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew


-----Original Message-----
From: Moritz Lennert [mailto:mlennert at club.worldonline.be] 
Sent: Saturday, May 7, 2016 8:24 PM
To: Yang, Bo (yangb2) <yangb2 at mail.uc.edu>
Cc: Maris Nartiss <maris.gis at gmail.com>; Markus Metz <markus.metz.giswork at gmail.com>; grass-dev at lists.osgeo.org; Helmut Kudrnovsky <hellik at web.de>
Subject: Re: [GRASS-dev] Seeking advices for image segmentation algorithms and windows compile question

Hi all,

[Bo, please keep such discussions on the list.]

Even though I agree with Maris that compiling in GNU/Linux is easier, I do think that we should rather support those who want to develop in a windows environment. We lack windows devs, and telling everyone at the first difficulty to move over to GNU/Linux will not increase that number.

Helmut, would you have any advice to give to Bo on his issue in launching the windows version ?

Moritz

Le Thu, 5 May 2016 16:24:51 +0000,
"Yang, Bo (yangb2)" <yangb2 at mail.uc.edu> a écrit :

> Hi Māris,
> 
> Thanks for the advice! Yes, I agree that GRASS could be compiled 
> easier in Linux/Unix than windows. I recalled that I actually have a 
> VM OS X El Captain (2 core/ 6Gb/ 80GB on SSD) on my desktop (i7 4 
> core/ 12GB/ 256 SSD). Previously it was set to test Xcode. I will try 
> to compile it on OS X and Ubuntu to see if works better.
> 
> Best,
> Bo Yang
> 
> 
> -----Original Message-----
> From: Maris Nartiss [mailto:maris.gis at gmail.com]
> Sent: Thursday, May 5, 2016 2:39 AM
> To: Yang, Bo (yangb2) <yangb2 at mail.uc.edu>
> Cc: grass-dev at lists.osgeo.org; Markus Metz 
> <markus.metz.giswork at gmail.com> Subject: Re: [GRASS-dev] Seeking 
> advices for image segmentation algorithms and windows compile question
> 
> I would strongly suggest to set up a dual boot on your system with 
> Ubuntu or Debian as a development platform. You will save tons of time 
> wasted on fighting with Windows'isms. Don't waste your time on 
> virtualisation unless you can give VM two cores + 8Gb RAM. No, 
> developing GRASS GIS doesn't need so much resources but full 
> virtualisation does (to be reasonable fast). Yes, it will take a day 
> or two to get dualboot up and running but will pay back (by time) 
> really fast.
> 
> Save yours (and our) time!
> Māris.
> 
> 2016-05-05 2:19 GMT+03:00 Yang, Bo (yangb2) <yangb2 at mail.uc.edu>:
> > Hello,
> >  
> 
> >
> > In addition, is there anyone who use win10 OS to compile the GRASS?
> > I have compiled GRASS in window 10 64bit system followed the 
> > tutorial [1]. In last step of the tutorial it mentioned:
> >  
> >                 >Usage:  
> >  
> >                 >To start GRASS use the icon on the desktop or if
> >                 >you   
> > want to be able to use the command line from within GRASS.
> >  
> >                 >Type in cmd console (assuming that we compiled
> >                 >GRASS 7.1):  
> >  
> >                 >c:\osgeo4w\bin\grass71svn.bat
> >
> > However, No matter I use CMD console or the OSGeo4W Shell. I got the 
> > same error below:
> >
> >                 '""' is not recognized as an internal or external 
> > command, operable program or batch file.
> >
> > From the error.log there is no error during the compiling. There is 
> > no error reported in former steps either, and I can see the file "
> > grass71svn.bat " is located in the right place. But I still can't 
> > start the compiled GRASS. I Googled this error but can't find 
> > helpful information. Any suggestion would be greatly appreciate.
> >
> >
> >
> > P.S. scripts in grass71svn.bat:
> >
> > @echo off
> >
> > rem
> > ####################################################################
> > ##
> > ###
> >
> > rem #
> >
> > rem # GRASS initialization bat script (OSGeo4W)
> >
> > rem #
> >
> > rem
> > ####################################################################
> > ##
> > ###
> >
> >
> >
> > SET OSGEO4W_ROOT=@osgeo4w@
> >
> >
> >
> > rem
> >
> > rem Set environmental variables
> >
> > rem
> >
> > call %OSGEO4W_ROOT%\bin\o4w_env.bat
> >
> > call %OSGEO4W_ROOT%\apps\grass\grass-7.1.svn\etc\env.bat
> >
> >
> >
> > rem
> >
> > rem Launch GRASS GIS
> >
> > rem
> >
> > "%GRASS_PYTHON%" "%GISBASE%\etc\grass71.py" %*
> >
> >
> >
> > rem
> >
> > rem Pause on error
> >
> > rem
> >
> > if %ERRORLEVEL% GEQ 1 pause
> >
> >
> >
> > [0] https://wiki.osgeo.org/wiki/GRASS_GSoC_2016_Segment_Algorithms
> >
> > [1] https://trac.osgeo.org/grass/wiki/CompileOnWindows
> >
> >
> >
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list