[GRASS-dev] GRASS 7 nviz (tcltk) no longer compiles on Mac
Michael Barton
michael.barton at asu.edu
Sun Feb 1 10:50:42 EST 2009
On Feb 1, 2009, at 12:21 AM, Glynn Clements wrote:
>
> Michael Barton wrote:
>
>> Just did an update and compile from the SVN. The original TclTk
>> version of nviz will no longer compile on the Mac. I wonder if this
>> is
>> related to the change to make it TclTk 8.6 compatible?
>>
>> Anyway, I put the lengthy error into a text file and am attaching it.
>
>> In file included from togl.c:53:
>> /usr/include/tkMacOSX.h:19:19: error: tkInt.h: No such file or
>> directory
>
> It looks like the headers from the system Tk package are broken.
I compiled 6.5 a few minutes earlier and had no problem with TclTk.
One thing I noticed. In platform make, I normally have to edit the
TCLTKLIBS line from
TCLTKLIBS = -ltk -ltcl
to
TCLTKLIBS = -framework Tcl -framework Tk
In GRASS 7, TCLTKLIBS was blank. I went ahead and entered the -
framework statements.
Michael
More information about the grass-dev
mailing list