[GRASS-dev] trying to compile wxPython NVIZ
Glynn Clements
glynn at gclements.plus.com
Thu Jul 17 02:35:01 EDT 2008
Michael Barton wrote:
> Here is a bit of followup on Mac Aqua TclTk. I perused the TOGL site.
> Here is what it says for Mac for TOGL 2.0
>
>
> Mac OS X usage
> These special instructions are for building the Aqua version of Togl.
> Mac OS X needs tkMacOSXInt.h and other internal Tk header files.
> Unfortunately, the Tcl and Tk frameworks that Apple distributes are
> missing the internal headers. So you need a Tcl/Tk source distribution
> in addition to the Togl distribution (or copy over the various include
> files). You would probably want a newer version of Tcl and Tk anyway
> because each minor revision of 8.4 has many Aqua bug fixes.
>
> Here's one way to build Tcl, Tk, and Togl on Mac OS X (assuming they
> are all in the same directory) to install in your home directory:
>
> VER=8.4.12 mkdir -p ~/bin make -C tcl$VER/macosx install PREFIX="$
> {HOME}" INSTALL_PATH="${HOME}/Library/Frameworks" make -C tk$VER/
> macosx install PREFIX="${HOME}" INSTALL_PATH="${HOME}/Library/
> Frameworks" APPLICATION_INSTALL_PATH="${HOME}/Applications" cd
> Togl2.0 ./configure --prefix="${HOME}" make install
>
> I checked and these header ARE present, at least for OS X 10.5.4 and
> TclTk 8.5. They are in the PrivateHeaders folder. So maybe it is just
> necessary to build TOGL 2.0 against the PrivateHeaders in 8.5 for this.
Note: NVIZ uses Togl 1.7.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list