酿造安装魔鬼的麻烦 [英] Trouble with brew install devil

查看:108
本文介绍了酿造安装魔鬼的麻烦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装RGBDSLAM要求devil

RGBDSLAM install is asking for devil

$ rosdep install rgbdslam
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rgbdslam: No definition of [libdevil-dev] for OS [osx]

但是当我尝试安装恶魔时,我得到了这个提示:

But when I try to install devil I'm getting this:

$ brew install devil
Error: devil cannot be built with any available compilers.
To install this formula, you may need to:
  brew install gcc

$ brew install gcc
Warning: gcc-5.3.0 already installed

我该如何解决?

注意:我已经安装了 xcode 命令行工具.

Note: I have xcode installed accompanied with the command line tools.

** 已安装EDIT libdevIL **

由于某些原因,当devIL寻找gcc时gcc 5没有注册,所以我不得不降级到4.9.

for some reason gcc 5 doesn't register when devIL is looking for gcc so I had to downgrade to 4.9.

$ brew rm gcc // removes 5
$ brew install gcc49 // installs 4.9
$ brew install devil // works
$ brew install gcc // two gcc installed? this might be interesting

rgbdslam仍然没有检测到libdevIL,不确定这是什么.

rgbdslam still isn't detecting libdevIL though, not sure what the deal is.

推荐答案

我在 SiftGPU/makefile 中设置了siftgpu_disable_devil = 0,然后 CMakeLists.txt 中的set(ENV{SIFT_GPU_MODE} 0)无济于事.我是 仍然看到rgbdslam:No definition of [libdevil-dev] for OS [osx]

I set siftgpu_disable_devil = 0 in SiftGPU/makefile and set(ENV{SIFT_GPU_MODE} 0) in CMakeLists.txt with no avail. I'm still seeing rgbdslam: No definition of [libdevil-dev] for OS [osx]

package.xml 中注释了 devIL ,这让我走了一点,但 进入一些看似OSX的特定问题,尝试通过以下方式解决这些问题 的github.一旦我有解决方案,将在这里回复.谢谢你的 协助.

Commenting devIL out in package.xml put me a little further but into some seemingly OSX specific issues, trying to resolve those via github. Will respond here once I have a solution. Thanks for your assistance.

这篇关于酿造安装魔鬼的麻烦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆