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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to