(解决追加200分)ubuntu下面安装cmake出错

出错信息如下
-- USE_COREFOUNDATION OFF
-- checking for one of the modules 'FMOD'
-- Manually searching for FMOD
-- FMOD_INCLUDE_DIRS: /usr/local/include/fmodex
-- fmod not found!
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/local/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - NOT found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wwr/simspark/trunk/spark/build

有两种办法
1. 安装libcppunit-dev (sudo apt-get install libcppunit-dev或者类似的包)

2. 调用cmake时使用参数,cmake -DENABLE_TESTS=OFF

然后,需要安装fmod,嘿嘿,自己去http://www.fmod.org/index.php/download找一个对应版本,解压后读读README或者INSTALL,看看怎么装的。我不知道ubuntu可不可以用apt-get装这个。

ps: 从楼主的问题看,主要问题就是解决依赖性问题。这个在Unix下是很常见,不过对新手来说是有点麻烦了,建议仔细阅读你要安装的软件下的README或者INSTALL,或者官网的faq,以解决一般性问题,长此以往碰得多了,也就不成问题了。

所以,ubuntu才会推出具有超级牛力的apt,一般的软件,还是直接apt-get吧,它会自动帮你解决依耐性问题的。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-10-27
.在联网的情况下终端中输入:sudo apt-get install cmake。安装cmake。
第2个回答  2009-10-12
不需要过多的解释,卸载或者删除 sudo dpkg -r purge
相似回答