[GRASS-dev] Re: [GRASS-user] GRASS6.3 on Windows

Bob Covill bcovill at tekmap.ns.ca
Tue Aug 7 15:39:39 EDT 2007


On Tue, 2007-08-07 at 20:20 +0100, Glynn Clements wrote:
> Glynn Clements wrote:
> 
> > > > been trying the latest GRASS 6.3 on windows O/S.
> > > > 
> > > > NVIZ on D.M gives error
> > > > 'couldnt execute NVIZ'
> > > > 
> > > > NVIZ on map display just doesnt work..
> > > > Nothing happens when you click on it.
> > > 
> > > This is one of the few items on the Windows native GRASS that doesn't work
> > > (apparently some infuriating problems with attribute databases too).
> > > 
> > > From posts a couple months back, it seems that it DID work in this version
> > > early on and then stopped working. This suggests that there should be a way
> > > to get it running again.
> > 
> > It definitely used to work natively on Windows, and I think that it
> > also worked natively on OSX.
> > 
> > ISTR a comment that it stopped around the time that Bob changed NVIZ
> > from being a self-contained C module to a combination of a script
> > ($GIBASE/bin/nviz) and a modified wish ($GISBASE/etc/nviz2.2/nviz).
> > 
> > That may just be a rumour, though. It would be nice if someone[1]
> > could confirm this, by compiling versions before and after 2006-12-11
> > for native Windows.
> 
> Done that. Yep, it's the script; MSys strikes again.
> 
> I've added an nviz.bat script for use on Windows; I've also fixed the
> Makefile to ensure that the binary gets the .exe extension.
> 

This implements one of the suggestion I made for Windows back on May 19,
2007 (Subj.: Nviz on native Windows). I guess no one had tested them??

The other suggestion was try directly running nviz2.2_script ....
> Another way, which may be a better solution for windows is to edit the
> nviz2.2_script file and replace "#!/nviz -f" with "#!
> $GISBASE/etc/nviz2.2/nviz -f". You may need to enter the full path for
> $GISBASE. After editing the file copy it to $GISBASE/bin/nviz
> (overwriting the old nviz script). Make sure it is executable. Run
> nviz (formerly nviz2.2_script).

--
Bob





More information about the grass-dev mailing list