build - 构建 VRip 时缺少 tk.h 和 tcl.h 文件

标签 build compiler-errors tcl tk

我正在尝试在 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/

相关文章:

build - INFO [0015] [8]系统错误:pipe2:docker build上打开文件过多

javascript - 为什么将 javascript 编译为 javascript 更好?

scala - 在 Circleci 上运行测试时获取文件名太长

c# - X.F WP8.1 在模块 System.Windows.dll 中找不到类型 System.Windows.Controls.Control

linux - 右大括号后的额外字符

sql-server - 如何获取解决方案中所有 SSIS 包的所有错误

c++ - 公共(public)算子新建,私有(private)算子删除 : getting C2248 "can not access private member" when using new

c# - 切换到任何 CPU 配置后,Win Service 项目不会构建

sorting - 按照以下模式获取列表的唯一元素

tcl - 读取TCL中的Bash环境变量