[GRASS-dev] wxnviz on mac osx (grass7.0)
William Kyngesburye
woklist at kyngchaos.com
Thu Aug 19 10:30:56 EDT 2010
That's the TclTk NVIZ.
And it looks like it's configured for the system TclTk (8.5). I tried that a while back when Snow Leopard came out - updated tcltk, 64bits - but had problems compiling, it might have been the same error.
You need to install TclTk 8.5 from ActiveState and configure for that. See the Mac compile readme in the source.
On Aug 19, 2010, at 6:42 AM, Massimo Di Stefano wrote:
> Hi,
>
> problems to get wx-nviz running on mac osx 10.6.4 building grass7.0
>
> this the log :
>
> Finished compilation: Gio 19 Ago 2010 13:31:39 CEST
> make: *** [default] Error 1
> MacBook-Pro-15-di-sasha:grass_trunk sasha$ cd /Users/sasha/gis/grass_trunk/visualization/nviz
> MacBook-Pro-15-di-sasha:nviz sasha$ make
> make -C src
> gcc -g -O2 -arch i386 -arch x86_64 -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -D_FILE_OFFSET_BITS=64 -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Library/Frameworks/UnixImageIO.framework/unix/include -I/Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grassmods"\" -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -o OBJ.i386-apple-darwin10.4.0/togl.o -c togl.c
> In file included from togl.c:53:
> /usr/include/tkMacOSX.h:31: error: expected declaration specifiers or ‘...’ before ‘TkRegion’
> togl.c:54:54: error: tkMacOSXInt.h: No such file or directory
> togl.c:265: error: expected specifier-qualifier-list before ‘XVisualInfo’
> togl.c: In function ‘SetMacBufRect’:
...
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
[Trillian] What are you supposed to do WITH a maniacally depressed robot?
[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...
- HitchHiker's Guide to the Galaxy
More information about the grass-dev
mailing list