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

Michael Barton michael.barton at asu.edu
Sat Sep 13 17:21:26 EDT 2008


William,

With these changes, vdigit compiles without errors and wxGUI launches  
without errors. That's a big plus. Thanks.

vdigit still doesn't work, but at least we can now move forward on  
that issue.

Michael
____________________
C. 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-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>



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