This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Tcl/Tk on NT built with the X libraries


  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.laroche@pwc.ca
--------------------------------------------


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]