[GRASS-dev] errors compiling nviz in GRASS 7
neteler at osgeo.org
Sun Jul 6 16:23:19 EDT 2008
On Sun, Jul 6, 2008 at 10:16 PM, Michael Barton <michael.barton at asu.edu> wrote:
> First, Markus' fix made GRASS 7 configure properly too.
(for the record): it was actually Glynn's fix.
> But when I went to compile it, I hit errors with nviz.
> I'm on a Mac OS X 10.5. If this is bug-worthy, I'll go ahead
> and put it in Trac too.
No need I think.
> Errors in:
> cmb-MBP-2:grass7_src cmbarton$ cd /Users/cmbarton/grass_dev/grass7_src/lib/nviz
> error: GL/gl.h: No such file or directory
Do you lack some devel package? On My Mandriva box, it is in
rpm -qf /usr/include/GL/gl.h
> cmb-MBP-2:cmd cmbarton$ cd /Users/cmbarton/grass_dev/grass7_src/gui/wxpython/nviz
> error: declaration does not declare anything
> error: conflicting declaration 'typedef int Cursor'
> /usr/X11/include/X11/X.h:108: error: 'Cursor' has a previous declaration as
> 'typedef XID Cursor'
> lipo: can't figure out the architecture type of:
> make: *** [OBJ.i386-apple-darwin9.4.0/change_view.o] Error 1
Looks like a Mac specific error to me.
> cd /Users/cmbarton/grass_dev/grass7_src/visualization/nviz2/cmd
> cmb-MBP-2:cmd cmbarton$ make
> make: *** No rule to make target
> needed by
> cmb-MBP-2:cmd cmbarton$
No idea here.
More information about the grass-dev