[Chimera-users] Cocoa-Togl

Alexander Agathos alexander.agathos at gmail.com
Tue Sep 6 12:17:10 PDT 2011


Thanks,

I was using an earlier version of Togl, now there are some things to be done in order for my application to work on Togl-2.1. The nice thing is that I have the patch ready from your site.

Cheers,
Alexander. 

On Sep 6, 2011, at 9:31 PM, Tom Goddard wrote:

> Hi Alexander,
> 
>   That togl-cocoa.patch was an earlier version (about 2 years old) of our patch to allow Togl to work with Tk Cocoa and Mac NSOPENGL to support 64-bit Mac applications.  The current version of the patch that we use in Chimera is Togl2.1-nsopengl.patch.
> 
>     http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl
> 
> We use this patch with Tk 8.6 beta 1 and 2.  I have no idea if it will work with Tk 8.5.  I believe the current patch does not use any modification to Tk source, but the old patch you are trying to use did use a Tk modification.  That Tk modification would be found in some old patch revisions from our TclTk source
> 
>     http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/TclTk
> 
> We never submitted these patches to Togl or Tk because they are a mess.
> 
>     Tom
> 
> 
> 
> 
>> Ok I have created the patch on my own. I have got the tarball of Apple (TCL/TK 8.5.9 Cocoa) and patched it myself.
>> 
>> Cheers,
>> Alexander. 
>> 
>> 
>> On Sep 3, 2011, at 8:15 PM, Alexander Agathos wrote:
>> 
>>> As an add-on to my mail I think that I need a patch to Tk-Cocoa also :
>>> 
>>> This also requires a patch to Tk Cocoa to expose the Mac
>>> 
>>> window needed for making an OpenGL context.
>>> 
>>> Where can I find this patch? 
>>> 
>>> Cheers,
>>> Alexander.
>>> 
>>> On Sat, Sep 3, 2011 at 7:02 PM, Alexander Agathos <alexander.agathos at gmail.com> wrote:
>>> Hi,
>>> 
>>> I have seen a patch concerning compiling Togl (a software component of Chimera) in Cocoa based TCL/TK
>>> 
>>> http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl/togl-cocoa.patch
>>> 
>>> The problem is that I can't compile it because of the function in the patch :
>>> 
>>> WindowRef r = TkMacOSXDrawableWindowRef(d);
>>> 
>>> The function TkMacOSXDrawableWindowRef does not exist anymore. Is it possible to guide me on what I need to do?
>>> 
>>> Cheers,
>>> Alexander.
>>>  
>>> 
>> 
>> 
>> 
>> _______________________________________________
>> Chimera-users mailing list
>> Chimera-users at cgl.ucsf.edu
>> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20110906/2608abd5/attachment.html>


More information about the Chimera-users mailing list