在安装东西时用cmake ..命令发生的错误

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

在安装东西时用cmake ..命令发生的错误

#1

帖子 耿直的吉拔猫 » 2016-04-30 14:49

这是错误的信息,怎么办 :Cry

-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
-- Found additional linker flags for ODE: -L/usr/lib/x86_64-linux-gnu -lode
-- Found ODE include dir: /usr/include
-- Could NOT find ODE library.
CMake Error at cmake/FindODE.cmake:152 (MESSAGE):
Could not find ODE. Please install ODE (http://www.ode.org)
Call Stack (most recent call first):
CMakeLists.txt:58 (find_package)


-- Configuring incomplete, errors occurred!
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 在安装东西时用cmake ..命令发生的错误

#2

帖子 rosynirvana » 2016-04-30 15:03

先看说明文档,把依赖装好
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

Re: 在安装东西时用cmake ..命令发生的错误

#3

帖子 耿直的吉拔猫 » 2016-04-30 15:24

[quote="rosynirvana"]先看说明文档,把依赖装好

找不到说明文档 , 不知道有哪些依赖,能说仔细一点不 :Adore 谢谢
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 在安装东西时用cmake ..命令发生的错误

#4

帖子 rosynirvana » 2016-04-30 15:36

编译的是从哪里找来的源码?
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

Re: 在安装东西时用cmake ..命令发生的错误

#5

帖子 耿直的吉拔猫 » 2016-04-30 15:40

rosynirvana 写了:编译的是从哪里找来的源码?
别人给的以前没换系统前编译成功过的 ,现在不知道怎么就出问题了
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 在安装东西时用cmake ..命令发生的错误

#6

帖子 qy117121 » 2016-04-30 15:42

Could not find ODE. Please install ODE (http://www.ode.org)

代码: 全选

sudo apt-get install libode-dev
应该是装上这个
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 chuan@ubuntu.org.cn
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

Re: 在安装东西时用cmake ..命令发生的错误

#7

帖子 耿直的吉拔猫 » 2016-04-30 15:46

qy117121 写了:
Could not find ODE. Please install ODE (http://www.ode.org)

代码: 全选

sudo apt-get install libode-dev
应该是装上这个
它提示已经是最新版本了==,
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 在安装东西时用cmake ..命令发生的错误

#8

帖子 rosynirvana » 2016-04-30 16:16

那这项目叫什么名字?
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

Re: 在安装东西时用cmake ..命令发生的错误

#9

帖子 耿直的吉拔猫 » 2016-04-30 16:20

rosynirvana 写了:那这项目叫什么名字?
simspark-0.2.4
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 在安装东西时用cmake ..命令发生的错误

#10

帖子 rosynirvana » 2016-04-30 16:26

http://simspark.sourceforge.net/wiki/in ... n_on_Linux

那份源码的说明可能在INSTALL里面
耿直的吉拔猫
帖子: 16
注册时间: 2016-04-30 12:47
系统: ubuntu16.04

Re: 在安装东西时用cmake ..命令发生的错误

#11

帖子 耿直的吉拔猫 » 2016-04-30 17:21

rosynirvana 写了:http://simspark.sourceforge.net/wiki/in ... n_on_Linux

那份源码的说明可能在INSTALL里面
2.1. Installing ODE
Step 1: Unpack the ODE archive.

Steps 2-4 (alternate): If you're on windows and using MSVC, you can use the workspace and project files in the VC6 subdirectory of the distribution.

Step 2: Get the GNU make tool. Many Unix platforms come with this, although sometimes it is called gmake. A version of GNU make for windows is available here.

Step 3: Edit the settings in the file config/user-settings. The list of supported platforms is given in that file.

Step 4: Run GNU make to configure and build ODE and the graphical test programs. The configuration process creates the file include/ode/config.h.

Step 5: To install the ODE library onto your system you should copy the lib/ and include/ directories to a suitable place, e.g. on Unix:

include/ode/ --> /usr/local/include/ode/
lib/libode.a --> /usr/local/lib/libode.a
第五步那个提示没有在目标位置创建问题的权限该怎么做 :em06 谢谢了
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 在安装东西时用cmake ..命令发生的错误

#12

帖子 vickycq » 2016-04-30 18:34

耿直的吉拔猫 写了: 第五步那个提示没有在目标位置创建问题的权限该怎么做了
用 sudo cp -r 复制
或 gksu nautilus 打开文件管理器操作。(Unity/GNOME 桌面自带文件管理器 nautilus)

若没有 gksu,安装 gksu 或临时用 sudo 凑合一下
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复