[GRASSLIST:5853] Re: Problem compiling Grass Mac OS X

Glynn Clements glynn.clements at virgin.net
Mon Mar 24 15:34:20 EST 2003


Niwa Concept - Oriental Gardens wrote:

> > More precisely, NVIZ needs the Unix/X11 version of Tcl/Tk, as well as
> > the Unix/X11 version of OpenGL. The "native" MacOS X versions of these
> > packages won't work with NVIZ.
> >
> > A compatible OpenGL library should be included with X. I don't know
> > about binary packages, but you can obtain the Tcl/Tk source code from:
> >
> > 	http://tcl.sourceforge.net/
> >
> 
> Yes but, I have successfully compiled TCL, but When I try to compile  
> TK, I get these errors :
> 
> /Users/aymeric/Desktop/tk8.4.2/unix/../generic/tk.h:72: #error Tk 8.4  
> must be compiled with tcl.h from Tcl 8.4

This error is probably responsible for all of the others. Ensure that
you are using Tcl 8.4.x; you may also need to use an additional switch
to force gcc to use its own preprocessor, rather than Apple's
preprocessor (there is more information about this on Apple's
developer site).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list