构建VRip时缺少tk.h和tcl.h文件 [英] Missing tk.h and tcl.h files when building VRip
问题描述
我正在尝试使用 http:// graphics站点在Ubuntu 10.04中编译VRip。 stanford.edu/software/vrip/guide/ 作为指南。它依赖于Tcl和Tk的安装-我已经从突触软件包管理器中获得了这些软件的最新版本。
I am trying to compile VRip in Ubuntu 10.04, using the site http://graphics.stanford.edu/software/vrip/guide/ as a guide. It relies on installation of Tcl and Tk -- I have acquired the latest versions of these from the synaptic package manager.
当我写 makedepend时,我得到了错误:
When I write "make depend", I get the error:
在vripInit.cc:30包含的文件中:vripInit.h:22:17:错误:tcl.h:
没有这样的文件或目录vripMain.cc:22:16:错误:tk.h:没有这样的文件
或目录在vripMain.cc:28包含的文件中:vripInit.h:22:17:
错误:tcl.h:没有这样的文件或目录
中包含的文件中vripMiscCmds.cc:29:vripMiscCmds.h:22:17:错误:tcl.h:没有这样的文件
或目录在vripFillCmds.cc:29包含的文件中:
vripFillCmds.h:22:17:错误:tcl.h:无这样的文件或目录在vripFileCmds.cc包含的文件
中:29:vripFileCmds.h :22:17:错误:tcl.h:
没有这样的文件或目录vripGridCmds.cc中包含的文件:29:
vripGridCmds.h:22:17:错误:tcl.h:没有这样的文件或目录文件或目录vripRangeCmds.cc:3中包含的文件
中6:vripRangeCmds.h:21:17:错误:
tcl.h:没有这样的文件或目录
包含的文件中vripGUICmds.cc:37:vripGUICmds.h:22:17:错误:tcl .h:没有这样的文件或
目录vripGUICmds.cc:43:16:错误:tk.h:没有这样的文件或目录
vripPlyCmds.cc中包含的文件:32:vripPlyCmds.h:22 :17:错误:
tcl.h:没有这样的文件或目录rm makedep.bak
In file included from vripInit.cc:30: vripInit.h:22:17: error: tcl.h: No such file or directory vripMain.cc:22:16: error: tk.h: No such file or directory In file included from vripMain.cc:28: vripInit.h:22:17: error: tcl.h: No such file or directory In file included from vripMiscCmds.cc:29: vripMiscCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripFillCmds.cc:29: vripFillCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripFileCmds.cc:29: vripFileCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripGridCmds.cc:29: vripGridCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripRangeCmds.cc:36: vripRangeCmds.h:21:17: error: tcl.h: No such file or directory In file included from vripGUICmds.cc:37: vripGUICmds.h:22:17: error: tcl.h: No such file or directory vripGUICmds.cc:43:16: error: tk.h: No such file or directory In file included from vripPlyCmds.cc:32: vripPlyCmds.h:22:17: error: tcl.h: No such file or directory rm makedep.bak
头文件,但找不到它们。但我不确定要告诉它去哪里。有更多经验的人可以帮忙吗?我花了好几个小时试图解决这个问题,但没有成功...:S
It seems to be looking for header files and not finding them. But I'm not sure where to tell it to look. Could anyone with more experience help out? I've spent a good couple of hours trying to figure this out without any success... :S
谢谢,
LPlates
Thanks, LPlates
推荐答案
使用apt或synaptic安装 tcl-dev
软件包; tcl包含运行时,而tcl-devel包含头文件和开发文件。用 tk-dev
Install tcl-dev
package using apt or synaptic; tcl contains the runtime, while tcl-devel contains header and development files. Do the same with tk-dev
这篇关于构建VRip时缺少tk.h和tcl.h文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!