2012-03-10 6 views
1

サイトとしてhttp://graphics.stanford.edu/software/vrip/guide/を参考にUbuntu 10.04でVRipをコンパイルしようとしています。それはTclとTkのインストールに依存しています - 私はシナプスパッケージマネージャーからこれらの最新バージョンを入手しました。ビルド時にtk.hとtcl.hファイルが見つからない

私は「依存します」書くとき、私はエラーを取得:

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

おかげで、 LPlates

答えて

2

にaptやsynapticを使用してtcl-devパッケージをインストールします。 tclにはランタイムが含まれ、tcl-develにはヘッダーファイルと開発ファイルが含まれます。同じことをするtk-dev

+0

こんにちは、あなたのおかげで、ありがとう。私は言及すべきです、私はすでにtclとtkのdevパッケージをシナプスを使ってインストールしましたが、それでも動作しません...私は何か忘れているのですか? – LPlates

+0

質問にリンクしたガイドの下の行のように環境変数を設定しましたか? _VRIP_TCL_LIBRARY_と_VRIP_TK_LIBRARY_?あなたがおそらくbashを使っていてcshではないので、setenv –

+0

ではなくexportでそれらを設定しなければなりません。私はそうしました。そして、指していたディレクトリを/vrippack-0.31/lib/linux/tk8.4に変更しましたVRip/vrippack-0.31/lib/linux/tcl8.4 - linux/libではなくlib/linuxであることが書かれています(これはドキュメントの間違いだと思います) – LPlates

関連する問題