From: Ramon R. <ra...@co...> - 2011-01-05 18:09:26
|
Hi, Thanks for the link. I've updated my togl with the new patches. The point is that now, it requieres tcl-tk 8.6 to work. I've have tried to compile tcl and tk 8.6b1 in snow leopard - 64bits. TCL compiles OK but TK fails to compile. Have you managed to compile tk8.6b1 on snow leopard 64 bits ? ---- Compass Ing. y Sistemas Dr. Ramon Ribo http://www.compassis.com ra...@co... c/ Tuset, 8 7-2 tel. +34 93 218 19 89 08006 Barcelona, Spain fax. +34 93 396 97 46 2011/1/4 Kevin Walzer <kw...@co...> > On 1/4/11 4:40 PM, Ramon Ribó wrote: > >> >> Kevin, >> >> I have download the togl cvs head, configure and compile. The result: >> >> >> Undefined symbols: >> "_GetPortBounds", referenced from: >> _SetMacBufRect in togl.o >> "_GetMainDevice", referenced from: >> _Togl_MakeWindow in togl.o >> >> >> I am using snow leopard. The only point is that I have installed >> ActiveTcl 8.5. I think it replaces the TCL-TK default frameworks in >> "/Library/Frameworks/Tk.framework..." >> >> Do you have any idea of this problem? And/or any way to fix it? >> >> If I investigate the struct TkWindowPrivate in file: >> >> /Library/Frameworks/Tk.framework/PrivateHeaders/tkMacOSXInt.h >> >> there is some variables like "HIShapeRef visRgn". Would it be possible >> to extract bounding box data from here, in order to substitute >> "GetPortBounds"? >> >> Ramon Ribó >> >> > Ramon, > > I found a more up-to-date version of Togl that is not hosted at > SourceForge--it's part of Chimera, a Python/Tkinter-based molecule viewer. > This version appears to have some patches include to smoothly integrate Togl > with the Cocoa-based Tk. Take a look: > > http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl > > The maintainer of Togl, Greg Couch, is also one of the Chimera developers. > > --Kevin > > > -- > Kevin Walzer > Code by Kevin > http://www.codebykevin.com > |