Re: Building a program with tcl/tk8.4
On Thu, 24 May 2007, Charles Plessy wrote:
> Dear mentors,
> I preparing a package which by default uses a local copy of tcl/tk. In
> order to build it against Debian's version, I have turned the #include
> "tk.h" into #include <tcl8.4/tk.h>.
This isn't necessary.
> It then complains the following:
> /usr/include/tcl8.4/tk.h:68:20: error: tcl.h: No such file or directory
> The reason is that /usr/include/tcl8.4/tk.h contains #include <tcl.h>
> instead of <tcl8.4/tcl.h>. Is it a bug?
No; you need to pass the appropriate -I option to gcc; in this case it
would be -I/usr/include/tcl8.4
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot