[GRASS-dev] wxnviz on mac osx (grass7.0)

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’:
togl.c:1084: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:1084: error: (Each undeclared identifier is reported only once
togl.c:1084: error: for each function it appears in.)
togl.c:1084: error: expected expression before ‘)’ token
togl.c:1088: warning: ‘GetPortBounds’ is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:4527)
togl.c:1088: error: expected expression before ‘)’ token
togl.c:1092: error: expected expression before ‘)’ token
togl.c: In function ‘Togl_Cmd’:
togl.c:1500: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:1501: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c: In function ‘Togl_CreateWindow’:
togl.c:1764: error: ‘XVisualInfo’ undeclared (first use in this function)
togl.c:1764: error: ‘visinfo’ undeclared (first use in this function)
togl.c:1795: error: expected ‘;’ before ‘VisInf’
togl.c:2117: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2118: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2119: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2120: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2121: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2122: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2124: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2187: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:2187: error: ‘winPtr’ undeclared (first use in this function)
togl.c:2187: error: expected expression before ‘)’ token
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2214: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2338: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2340: error: ‘MacDrawable’ undeclared (first use in this function)
togl.c:2340: error: expected expression before ‘)’ token
togl.c:2352: error: ‘VisInf’ undeclared (first use in this function)
togl.c:2388: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2389: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2390: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2391: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2392: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2393: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2394: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2395: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2396: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2397: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2399: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c: In function ‘Togl_EventProc’:
togl.c:2594: warning: ‘AGLDrawable’ is deprecated
togl.c:2596: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2610: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c: In function ‘Togl_LoadBitmapFont’:
togl.c:3143: warning: ‘aglUseFont’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:374)
togl.c: In function ‘Togl_DumpToEpsFile’:
togl.c:3750: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3750: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsBlueMap’
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’:
togl.c:1084: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:1084: error: (Each undeclared identifier is reported only once
togl.c:1084: error: for each function it appears in.)
togl.c:1084: error: expected expression before ‘)’ token
togl.c:1088: error: expected expression before ‘)’ token
togl.c:1092: error: expected expression before ‘)’ token
togl.c: In function ‘Togl_Cmd’:
togl.c:1500: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:1501: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c: In function ‘Togl_CreateWindow’:
togl.c:1764: error: ‘XVisualInfo’ undeclared (first use in this function)
togl.c:1764: error: ‘visinfo’ undeclared (first use in this function)
togl.c:1795: error: expected ‘;’ before ‘VisInf’
togl.c:2117: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2118: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2119: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2120: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2121: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2122: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2124: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2187: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:2187: error: ‘winPtr’ undeclared (first use in this function)
togl.c:2187: error: expected expression before ‘)’ token
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2214: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2221: warning: cast to pointer from integer of different size
togl.c:2338: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2340: error: ‘MacDrawable’ undeclared (first use in this function)
togl.c:2340: error: expected expression before ‘)’ token
togl.c:2352: error: ‘VisInf’ undeclared (first use in this function)
togl.c:2388: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2389: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2390: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2391: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2392: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2393: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2394: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2395: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2396: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2397: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2399: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c: In function ‘Togl_EventProc’:
togl.c:2594: warning: ‘AGLDrawable’ is deprecated
togl.c:2596: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2610: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c: In function ‘Togl_LoadBitmapFont’:
togl.c:3143: warning: ‘aglUseFont’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:374)
togl.c: In function ‘Togl_DumpToEpsFile’:
togl.c:3750: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3750: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsBlueMap’
lipo: can't figure out the architecture type of: /var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-//ccifosKj.out
make[1]: *** [OBJ.i386-apple-darwin10.4.0/togl.o] Error 1
make: *** [default] Error 2
MacBook-Pro-15-di-sasha:nviz sasha$

tring to run nviz from the wx gui i see this log in the shell :

Thu Aug 19 13:36:56 MacBook-Pro-15-di-sasha.local pythonw2.6[89612] <Error>: kCGErrorIllegalArgument: CGSOrderWindowList
Thu Aug 19 13:36:56 MacBook-Pro-15-di-sasha.local pythonw2.6[89612] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

and the wxgui quit itself.

I have the same problems on grass6.5 (errors in the build and crash wxgui tring to load nviz) but in grass65 no log is printed in the grass shell

i hopethis log will be usefull,
tell me if i need to provide better logs(descriptin

thanks,

Massimo.

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

Hi William,

right :slight_smile: thanks to point me to tcltk
i'm on a fresh osx installation .. so i'll rebuild tcltk for both 32+64 bit and reconfigure grass.

but this error wil be not related to the wx-nviz crash, is it right ?

i have a wxniz crash on both grass 6.5 and 7.0.

i'll update my tcltk and try again,

thanks!

Massimo.

Il giorno 19/ago/2010, alle ore 16.30, William Kyngesburye ha scritto:

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

On Aug 19, 2010, at 9:36 AM, Massimo Di Stefano wrote:

Hi William,

right :slight_smile: thanks to point me to tcltk
i'm on a fresh osx installation .. so i'll rebuild tcltk for both 32+64 bit and reconfigure grass.

Just stick with the ActiveState TclTk install. Last I tried to build TclTk 8.5.8 64bit, it didn't work. ActiveState seems to be the 'official' build, and even they don't build 64bit.

Tcltk 8.6 is still in beta, and I don't know if 64bit status has improved or if it works in GRASS.

but this error wil be not related to the wx-nviz crash, is it right ?

i have a wxniz crash on both grass 6.5 and 7.0.

Could be something to do with running nviz from inside the GUI. To see if NVIZ itself is OK, just run it from the GRASS terminal.

i'll update my tcltk and try again,

thanks!

Massimo.

Il giorno 19/ago/2010, alle ore 16.30, William Kyngesburye ha scritto:

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.

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

"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."

- Marvin

Hello Helena,

Il giorno 19/ago/2010, alle ore 16.44, Helena Mitasova ha scritto:

On Aug 19, 2010, at 10:36 AM, Massimo Di Stefano wrote:

Hi William,

right :slight_smile: thanks to point me to tcltk
i'm on a fresh osx installation .. so i'll rebuild tcltk for both 32+64 bit and reconfigure grass.

but this error wil be not related to the wx-nviz crash, is it right ?

i have a wxniz crash on both grass 6.5 and 7.0.

it crashes if you have both raster dem and vector data in gis manager,

i tried loading only the raster layer spearfish elevation.dem
(without vector loaded in gis manager)

after load the raster in the 2d map-display,
"click" on the "3D View" give me a wxpython-gui crash

to have a log i tried to use : export GRASS_WX_DEBUG=1

GRASS 7.0.svn (spearfish60):~ > export GRASS_WX_DEBUG=1
[1]+ Done g.gui wxpython
GRASS 7.0.svn (spearfish60):~ > g.gui wxpython &
[1] 22828
GRASS 7.0.svn (spearfish60):~ > GUI D1/1: GMFrame.NewDisplay(): idx=0
GUI D1/1: gcmd.RunCommand(): g.proj -p
GUI D1/1: gcmd.RunCommand(): g.region -ugpc
GUI D1/1: gcmd.RunCommand(): g.mapsets --q -p fs=newline
GUI D1/1: gcmd.RunCommand(): d.rast --q map=elevation.10m@PERMANENT
GUI D1/1: gcmd.RunCommand(): g.pnmcomp opacity=1.0 mask=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp7oA4qm.pgm height=515 width=768 background=255:255:255:255 input=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp7oA4qm.ppm output=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp8Lfnkp.ppm
GUI D1/1: gcmd.RunCommand(): d.rast --q map=elevation.10m@PERMANENT
GUI D1/1: gcmd.RunCommand(): g.pnmcomp opacity=1.0 mask=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp7oA4qm.pgm height=515 width=768 background=255:255:255:255 input=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp7oA4qm.ppm output=/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmp8Lfnkp.ppm

it is still under development - see the wiki page.

i know, my mail is just to report what i have here,
i hope a log will help to debug the problems.
My attempt is to help to debug,
building grass several times at week,
i usually report a problem if exists

tcltk nviz is not supposed to be supported in grass7

i know, all tcltk stuff is dropped from grass7,

unlucky i'm just a power-user and i'm not able to fix things
i'm on osx i'will be happy to provide you more logs
and tests if needed, to guve us a little help.

thanks All, for you powerfull grass-work!

Massimo.

Helena

i'll update my tcltk and try again,

thanks!

Massimo.

Il giorno 19/ago/2010, alle ore 16.30, William Kyngesburye ha scritto:

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

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev