Trouble with brew install devil

会有一股神秘感。 提交于 2019-12-13 06:49:05

问题


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

How can I get around this?

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

** EDIT libdevIL installed **

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 still isn't detecting libdevIL though, not sure what the deal is.


回答1:


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.



来源:https://stackoverflow.com/questions/35166365/trouble-with-brew-install-devil

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!