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.
我正在尝试在Ubuntu 10.04中编译VRip,使用http://graphics.stanford.edu/software/vrip/guide/作为指南。它依赖于Tcl和Tk的安装——我从synaptic包管理器中获得了最新的版本。
When I write "make depend", I get the error:
当我写“make depend”时,我得到了一个错误:
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
在vripInit包含的文件中。答:30:vripInit。h:22:17:错误:tcl。h:没有这样的文件或目录vripMain。答:22:16:错误:tk。h:文件中没有包含vripMain的文件或目录。答:28:vripInit。h:22:17:错误:tcl。h: vripMiscCmds中没有包含这样的文件或目录。答:29:vripMiscCmds。h:22:17:错误:tcl。h:文件中没有包含vripFillCmds的文件或目录。答:29:vripFillCmds。h:22:17:错误:tcl。h: vripFileCmds中没有包含这样的文件或目录。答:29:vripFileCmds。h:22:17:错误:tcl。h: vripGridCmds中没有包含这样的文件或目录。答:29:vripGridCmds。h:22:17:错误:tcl。h: vripRangeCmds中没有包含这样的文件或目录。答:36:vripRangeCmds。h:21:17:错误:tcl。h: vripGUICmds中没有包含这样的文件或目录。答:37:vripGUICmds。h:22:17:错误:tcl。h:没有这样的文件或目录vripGUICmds。答:43:16:错误:tk。h: vripPlyCmds中没有包含这样的文件或目录。答:32:vripPlyCmds。h:22:17:错误:tcl。h:没有这样的文件或目录rm makedep.bak
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
它似乎在寻找头文件而没有找到它们。但我不知道该从哪里说起。有经验的人能帮忙吗?我花了好几个小时试图弄清楚这件事,但没有成功……:年代
Thanks, LPlates
谢谢,LPlates
1 个解决方案
#1
2
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
使用apt或synaptic安装tcl-dev包;tcl包含运行时,而tcl-devel包含头文件和开发文件。在tk-dev网站上做同样的事情
#1
2
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
使用apt或synaptic安装tcl-dev包;tcl包含运行时,而tcl-devel包含头文件和开发文件。在tk-dev网站上做同样的事情