I'm trying to port some code over from a Solaris box onto a Linux (specifically Redhat) box. Code compiled without issues and ran without issues on the Solaris box.
However, in recompiling on Linux, I'm running into an issue with tcl.h - the compiler is telling me that error: tcl.h: No such file or directory
for multiple files that #include "tcl.h"
.
As far as I can tell, both tcl8.4 & tk8.4 are installed:
However, I can't find tcl.h anywhere. Does anyone know where it would be? Or is it one of those files that Solaris needed, but Linux does not need to be included? Or even do I need to install something in addition to tcl/tk 8.4?
You need to install the development package to get the header files. Depending on your Linux distribution, look for packages named like tcl8.4-dev
and tk8.4-dev
.