[GRASS-dev] errors compiling nviz in GRASS 7

William Kyngesburye woklist at kyngchaos.com
Sun Jul 6 16:36:22 EDT 2008


On Jul 6, 2008, at 3:23 PM, Markus Neteler wrote:

>> Errors in:
>> /Users/cmbarton/grass_dev/grass7_src/lib/nviz
>> /Users/cmbarton/grass_dev/grass7_src/gui/wxpython/vdigit
>> /Users/cmbarton/grass_dev/grass7_src/gui/wxpython/nviz
>> /Users/cmbarton/grass_dev/grass7_src/visualization/nviz2/cmd
>> --
> ...
>> cmb-MBP-2:grass7_src cmbarton$ cd /Users/cmbarton/grass_dev/ 
>> grass7_src/lib/nviz
> ...
> Users/cmbarton/grass_dev/grass7_src/dist.i386-apple-darwin9.4.0/ 
> include/grass/gstypes.h:13:19:
>> 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
> lib64mesagl1-devel-7.0.1-10mdv2008.0
>
OR the GL include path is missing?

>> 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:
>> /var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//cc8d1b5h.out
>> make: *** [OBJ.i386-apple-darwin9.4.0/change_view.o] Error 1
>
> Looks like a Mac specific error to me.
>
Yeah, I vaguely recall seeing a workaround for errors like this -  
something to do with Cursor being used in Carbon I think.  Maybe the  
workaround is in TclTk?

I haven't attempted trunk yet.  I'll give it a spin today and see if I  
think of anything.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly  
what the universe is for and why it is here, it will instantly  
disappear and be replaced by something even more bizarrely  
inexplicable.  There is another theory which states that this has  
already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro




More information about the grass-dev mailing list