[GRASS-dev] Re: WinGrass testing results 6.3.0rc2

Michael Barton michael.barton at asu.edu
Tue Nov 27 10:35:31 EST 2007




On 11/27/07 3:25 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:

> On 27/11/07 11:07, Paul Kelly wrote:
>> On Tue, 27 Nov 2007, Benjamin Ducke wrote:
>> 
>>>>> NVIZ won?t launch (but did in a recent binary)
>>> This can be somewhat tricky. For me, it fails to launch from within
>>>  the MSYS shell
> 
> I cannot confirm this: If I launch grass using /c/grass/bin/grass63
> (i.e. the shell launch script, not the .bat), nviz works perfectly for
> me, both from the gui and from the comand line.
> 
> (You have to change the definition of GISBASE from c:/ syntax to /c/
> syntax for it to work...I've corrected this in the wingrass6.3RC2
> package now

Not sure I understand this. How can you launch GRASS from a command line in
Windows? How do you get a command line to launch it from?

Probably a good idea to always run it from the *.bat file during development
to make sure it works that way, since that's how most people will run it.

> 
>>> as well as a sh.exe started via Window's cmd.exe.
> 
> Could you be more precise as to what exactly you are doing ? Do you
> launch grass via grass63.bat and then launch sh.exe within a running
> grass session ?
> 
>> 
>> That might be because the Msys shell doesn't recognise a .bat file
>> (in this case nviz.bat) as an executable and/or can't run it. What
>> happens if you add the GRASS scripts directory ($GISBASE/scripts
>> IIRC) to your path? Then it should pick up the nviz shell script that
>> will (should be???) installed in there.
> 
> If you run grass in msys you have to run the grass63 file which then
> calls Init.sh which sets the path to the scripts directory.

Again, I'm not sure how one actually does this. Is there a problem of which
gets launched first--mysys or TclTk?

Michael


__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton




More information about the grass-dev mailing list