brew install devil 的问题

Trouble with brew install devil

RGBDSLAM 安装要求 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]

但是当我尝试安装 devil 时,我得到了这个:

$ 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 以及 命令行工具

** 编辑已安装的 libdevIL **

出于某种原因,当 devIL 正在寻找 gcc 时,gcc 5 没有注册,所以我不得不降级到 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,不确定是怎么回事。

Here's some helpful notes from answers.ros.org

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]

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.