Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Michael Fonte" To: "'Denis Laroche'" , "'cygwin-list'" Subject: RE: Tcl/Tk on NT built with the X libraries Date: Mon, 17 May 1999 10:28:34 -0400 Message-ID: <000601bea071$8e0b33c0$23ed6bc0@hawk.sensor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-reply-to: <199905171319.JAA05103@topaz.sensor.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal I have built tcl/tk against the X libs under cygwin and NutCracker. You need to modify the code a bit. I used the unix subdirectory instead of the win subdir. You still need to look for the 'WIN_32' (__WIN_32__) ifdefs and comment them out or just undef __WIN_32__. You will also need an X server on the PC side but if you are just exporting them to a unix box you won't need one. I had a small problem with tk and the cygwin build, I ended up with a transparent window but I think this had more to do with an incorrect path where tk could not find a background color. You can get the pre-compiled X11R6.4 libs/client for Cygwin B20 from http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.4/ Michael -------------------------------------------- Hi everybody, i read through the mailing lists but i'm still not sure if it's possible to do the following and if it works: building Tcl/Tk on NT with the X libraries so that the windows of a wish script on NT could be sent to a remote X server. We built an application with the Windows version of Tcl/Tk from Scriptics and now some people would like to run it on their Unix workstation. The application can't be ported to Unix because it's linked with C code using an imaging library available only on NT. I installed the full distribution of Cygwin, but i have not seen the X libraries. Is there a binary version of the libraries available somewhere, or is it relatively easing to build them from the sources? Thanks. -- Denis Laroche Pratt & Whitney Canada, Test Facilities Computing 1000 Marie-Victorin, 01AG3 Longueuil, Québec, Canada, J4G 1A1 tel. 450-677-9411 x5224 UTC tecnet 647-5224 email denis DOT laroche AT pwc DOT ca -------------------------------------------- -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com