Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Michael Barton
On Jul 15, 2008, at 10:42 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 5 Date: Tue, 15 Jul 2008 23:02:03 -0500 From: William Kyngesburye [EMAIL PROTECTED] Subject: Re: [GRASS-dev] trying to compile wxPython NVIZ To: Martin Landa [EMAIL PROTECTED] Cc: grass developers

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Glynn Clements
William Kyngesburye wrote: On Jul 15, 2008, at 10:36 PM, William Kyngesburye wrote: In file included from change_view.c:20: /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/ include/grass/nviz.h:120: error: syntax error before �AGLPixelFmtID� Hmm, I can't find

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Glynn Clements
Michael Barton wrote: Forgot to give the nviz error. Here it is: Process: nviz [64828] Path:/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/ nviz2.2/nviz Identifier: nviz Version: ??? (???) Code Type: X86 (Native) Parent Process: wish8.5

[GRASS-dev] [GRASS GIS] #226: WinGRASS fials to create .gislock opening a mapset

2008-07-16 Thread GRASS GIS
#226: WinGRASS fials to create .gislock opening a mapset --+- Reporter: msieczka | Owner: grass-dev@lists.osgeo.org Type: defect| Status: new Priority: major | Milestone:

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread William Kyngesburye
I got further now. By ignoring render.c, libnviz compiles. Now I'm in wxpython/nviz. I see that there is still the nviz header include order problem here. In wxpython nviz.h, the order should be: extern C { #include grass/gis.h #include grass/nviz.h #include grass/gsurf.h #include

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Martin Landa
Hi, 2008/7/16 William Kyngesburye [EMAIL PROTECTED]: I got further now. By ignoring render.c, libnviz compiles. render.c is just needed for nviz CLI module, in the future we need to make working also off-screen rendering on Mac. Now I'm in wxpython/nviz. I see that there is still the nviz

Re: [GRASS-dev] Python Scripting

2008-07-16 Thread Michael Barton
On Jul 16, 2008, at 1:28 AM, Glynn Clements wrote: Michael Barton wrote: subprocess.call([ v.extract, input=%s % os.getenv(GIS_OPT_INPUT), output=%s_%s % (os.getenv(GIS_OPT_OUTPUT), i), type=point, layer=1, new=-1,

[GRASS-dev] Re: grass-dev Digest, Vol 27, Issue 41

2008-07-16 Thread Michael Barton
On Jul 16, 2008, at 6:34 AM, [EMAIL PROTECTED] wrote: Date: Wed, 16 Jul 2008 08:33:59 -0500 From: William Kyngesburye [EMAIL PROTECTED] Subject: Re: [GRASS-dev] trying to compile wxPython NVIZ To: Glynn Clements [EMAIL PROTECTED] Cc: Martin Landa [EMAIL PROTECTED], grass developers

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Glynn Clements
William Kyngesburye wrote: In file included from change_view.c:20: /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/ include/grass/nviz.h:120: error: syntax error before �AGLPixelFmtID� Hmm, I can't find AGLPixelFmtID *anywhere* in the OSX headers, and there are no

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Glynn Clements
Michael Barton wrote: So you can debug it with e.g.: gdb $GISBASE/etc/nviz2.2/nviz run -f /path/to/etc/nviz2.2/scripts/nviz2.2_script I wonder if this might be an issue with Tcl/Tk 8.5; Togl depends quite heavily upon Tcl/Tk internals, so it's likely to be quite

[GRASS-dev] i.smap code only for segmentation, not classification

2008-07-16 Thread Moritz Lennert
Hello, Does anyone how difficult it would be to modify i.smap or reuse some of its code to only do image segmentation, without classification and without prior identification of training zone signatures ? I am asking this since colleagues are currently busy benchmarking segmentation

[GRASS-dev] Re: [GRASS GIS] #118: r.patch fails on Vista

2008-07-16 Thread GRASS GIS
#118: r.patch fails on Vista --+- Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org Type: defect | Status: closed Priority: critical | Milestone:

[GRASS-dev] Re: [GRASS GIS] #114: wxPython GUI fails in Windows Vista if GISDBASE contains spaces

2008-07-16 Thread GRASS GIS
#114: wxPython GUI fails in Windows Vista if GISDBASE contains spaces --+- Reporter: jrobins | Owner: grass-dev@lists.osgeo.org Type: defect | Status: closed

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Michael Barton
Here is a bit of followup on Mac Aqua TclTk. I perused the TOGL site. Here is what it says for Mac for TOGL 2.0 Mac OS X usage These special instructions are for building the Aqua version of Togl. Mac OS X needs tkMacOSXInt.h and other internal Tk header files. Unfortunately, the Tcl and

[GRASS-dev] WIKI Python script example won't run

2008-07-16 Thread Michael Barton
I wanted to see how it would be to port one of the bash scripts to Python. I followed the WIKI template and it didn't run. So I made a script that is ONLY from the WIKI template and it doesn't run either. I've tried it by just typing the script into the command prompt and also by typing: