gcc -O2 -DNO_ZLIB -Wall -Wextra -Wconversion -pedantic -I./include -c -o main.o main.c In file included from ./include/tcl_utils.h:40:0, from main.c:38: /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory # include <X11/Xlib.h> ^~~~~~~~~~~~ compilation terminated.
I'm reasonably sure that selecting and installing thetcl-tk-devel package (8.6.whatever) should include theX libraries and libX11-devel as a dependency as well,without having to figure it out and install libX11-develyourself. The (very old) Insight Tcl (4) didn't need X, thisone does. (aside: I'm using XMing for all local X display stuffon cygwin and the Windows linux subsystem, so the X stuffI install under Cygwin is minimal. Anyone else doing this?) thanks Lloyd Wood lloyd.w...@yahoo.co.uk http://about.me/lloydwood -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple