From: yas@oberon.csse.swin.edu.au (Y. Ahmet Sekercioglu)
Subject: Re: (Updated) Sample code for beginners of tcl/tk
26 Nov 1997 16:45:51 -0800
Message-ID: <Pine.LNX.3.95.971126073942.25912B-100000.cygnus.gnu-win32@oberon.csse.swin.edu.au>
References: <Pine.A32.3.93.971125135122.29114D-100000@jacare.watson.ibm.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: "Ulisses T. Mello" <ulisses@watson.ibm.com>
Cc: gnu-win32@cygnus.com

On Tue, 25 Nov 1997, Ulisses T. Mello wrote:

> 
> Hi,
> 
> I am trying to compile you example with cygwin32 environment using:
> 
> gcc -o tkhelloworld tkhelloworld.c -ltcl7.6 -ltk4.2
> 
> as you suggested but I get error:
> 
> tk.h:72 X11/Xlib.h: No such file or directory
> 
> Do you have to have X in you system? or some define -D__WIN32__ is
> missing?
> 
> Cheers -- ulisses.
> 

	Hi Ulisses, 

	It seems that this header file was somehow omitted from 
the cygnus distribution. You do not need to have X11 installed.

	I have done this: downloaded the tcl/tk 8.0 from sun and
copied Xlib.h into cygnus directory. Then it compiled and ran 
without any problems.


===Y. Ahmet Sekercioglu (ASekerci@swin.edu.au)=====IP phone:============
   School of Information Technology                yas.csse.swin.edu.au
   Swinburne University of Technology              tel: +61-3-92148942
===PO Box 218, Hawthorn, 3122 Vic. Australia=======fax: +61-3-98190823==

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
