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

Moritz Lennert mlennert at club.worldonline.be
Sat May 7 17:23:56 PDT 2016


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