我正在尝试在 Ubuntu 10.04 中编译 VRip,使用站点 http://graphics.stanford.edu/software/vrip/guide/作为指南。它依赖于 Tcl 和 Tk 的安装——我从突触包管理器那里获得了这些的最新版本。
当我写“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
它似乎在寻找头文件而不是找到它们。但我不知道在哪里告诉它看。有更多经验的人可以帮忙吗?我花了好几个小时试图解决这个问题,但没有成功......:S
谢谢,
平板
最佳答案
安装 tcl-dev
使用apt或synaptic打包; tcl 包含运行时,而 tcl-devel 包含头文件和开发文件。对 tk-dev
做同样的事情
关于build - 构建 VRip 时缺少 tk.h 和 tcl.h 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9649417/