[GRASS-dev] Re: nvizlib compile error
William Kyngesburye
woklist at kyngchaos.com
Wed Jul 9 23:09:59 EDT 2008
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