[PyOpenGL-Devel] Fwd: Re: [Togl-chat] Adding support for Tk 8.4?
Brought to you by:
mcfletch
|
From: Mike C. F. <mcf...@ro...> - 2002-09-24 17:27:51
|
Hi all, I got this mail from Jonas (thanks Jonas) on the Togl-chat list, suggesting that if we use the 1.6 version of Togl then Tk 8.4 support is automatic. Another post tells me that to get 8.4 support in Python 2.2.1 will require a rebuild of Python, so... I've just confirmed that dropping the CVS version of Togl into the PyOpenGL2 source tree as src/Togl-1.6 (and un-commenting line 23 in togl_setup.py, which I assume was from Rene doing the same thing) will allow us to build with the 1.6 version of Togl (though it seems to declare itself to be the 1.5 version) compiled against Python's current Tk version (in my case 8.3). I still haven't tried re-compiling Python with Tk 8.4, so can't be sure what happens there, but from Jonas' post it sounds like if you can get Togl 1.6 compiled you should have it available with every current version of Tk, which should in turn make it available for all versions of PyOpenGL if I understand correctly. So, basically: get latest CVS version of Togl copy files to PyOpenGL/src/Togl-1.6 uncomment line 23 in togl_setup.py run setup.py build --force run setup.py install If Tk is properly linked to Python, that _should_ just work. Torsten, could you confirm that it does with your Tk8.4-linked version of Python? If so, I'll write it up in the docs. Otherwise I'll have to byte the bullet and figure out how to build Python with Tk8.4. Hope 8.4 is really a killer advance :o) , Mike -------- Original Message -------- Subject: Re: [Togl-chat] Adding support for Tk 8.4? Date: Tue, 24 Sep 2002 11:52:52 +0200 From: Jonas Beskow <be...@sp...> Organization: KTH, Centre for Speech Technology To: Mike C. Fletcher <mcf...@ro...> CC: tog...@li... References: <3D8...@ro...> The current CVS-version og Togl should work just fine with Tcl/Tk 8.4.0 since it is stubs-enabled (it shouldn't even have to be re-compiled). I have tried it with previous 8.4aX-releases on linux and windows. -Jonas -- Jonas Beskow Tel: +46 8 790 8965 Centre for Speech Technology Fax: +46 8 790 7854 KTH be...@sp... SE-10044 Stockholm, Sweden www.speech.kth.se/~beskow |