[GRASS-dev] Re: nvizlib compile error
Michael Barton
michael.barton at asu.edu
Thu Jul 10 00:34:43 EDT 2008
Thanks much William. Sounds like it's getting closer to working on a
Mac.
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 Jul 9, 2008, at 8:09 PM, William Kyngesburye wrote:
> I think there may still be some GLx vs AGL vs WGL differences to
> take care of? At least, I'm now getting this:
>
> 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’
> /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/
> include/grass/nviz.h:120: warning: no semicolon at end of struct or
> union
> /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/
> include/grass/nviz.h:122: error: syntax error before ‘windowId’
> /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/
> include/grass/nviz.h:122: warning: data definition has no type or
> storage class
> /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/
> include/grass/nviz.h:127: error: syntax error before ‘}’ token
> make: *** [OBJ.i386-apple-darwin9.3.0/change_view.o] Error 1
>
> Checking with -E, I see that I'm getting the "struct render_window"
> as expected, so I don't know what's wrong. Maybe that should be a
> typedef? since render_window is used in render.c as:
>
> struct render_window* Nviz_new_render_window();
>
>
> On Jul 9, 2008, at 6:08 PM, Michael Barton wrote:
>
>> Are we at a place yet where I can compile and test this on a Mac,
>> given it's location of OpenGL in the agl directory?
>>
>> Michael
>>
>
> -----
> 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