MAGIC Magic Mailing List
 
 

From: R. Timothy Edwards (tim AT opencircuitdesign DOT com)
Date: Mon Jul 14 2003 - 11:19:40 EDT

  • Next message: Christopher James Fearing: "Netgen runtime problems"

    At the end of last week, I made an attempt to compile Magic-7.2 as
    the Tcl extension in Cygwin.  I quickly discovered a major snag:
    the Tk graphics package in Cygwin is compiled with the native
    Windows graphics API, not with X11.  Currently, under the Tcl/Tk
    interface, magic-7.2 opens a Tk window and, assuming it is an X11
    window, starts firing X11 commands at it.  Thus, even if it would
    compile correctly (which I managed to do, finally, although it
    wasn't easy), it won't run.  I have a set of WIN32API routines
    for the graphics module in magic, and I am working on debugging
    them.  Meanwhile, the only way to run Magic-7.2 under Tcl in
    Cygwin is to compile a new version of Tk (to install target
    /usr/local, for instance, so as not to overwrite the exisiting
    Tk version) to work with X11, and link to that.  Be warned that
    this is not a trivial exercise.
    
    					Regards,
    					Tim
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo