[GRASS-dev] nviz compile errors on Mac OS X

Michael Barton michael.barton at asu.edu
Sat Sep 13 21:07:47 EDT 2008


I just tried this and nviz compiles. Now both vdigit and nviz compile.

But nviz doesn't work yet. It crashes Python when I select it. Any  
idea how to find out what the error is? Will the report to Apple be  
useful?

Michael

On Sep 13, 2008, at 12:49 PM, William Kyngesburye wrote:

> On Sep 13, 2008, at 1:59 PM, Michael Barton wrote:
>
>> Just did an update and compile of develbranch_6
>>
>> ../lib/nviz compiles but ../gui/wxpython/nviz does not. Here are  
>> the errors.
>>
>> grass6_wxnviz_wrap.cpp: In static member function ‘static int  
>> swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**)’:
>> grass6_wxnviz_wrap.cpp:3889: error: expected unqualified-id before  
>> ‘?’ token
>
> I just hit this also in my Mini compile test.  Martin - that #undef  
> fix for nviz.i should be:
>
> %module grass6_wxnviz
> %{
> #include "nviz.h"
> #include <grass/gsurf.h>
> #include <grass/gstypes.h>
> #undef check
> %}
>
> ie, inside  the braces.  Otherwise it doesn't get inserted into the  
> generated wrapper source.
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>
> - Marvin
>
>



More information about the grass-dev mailing list