{"action":"reopened","issue":{"url":"https://api.github.com/repos/ros/homebrew-hydro/issues/26","labels_url":"https://api.github.com/repos/ros/homebrew-hydro/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ros/homebrew-hydro/issues/26/comments","events_url":"https://api.github.com/repos/ros/homebrew-hydro/issues/26/events","html_url":"https://github.com/ros/homebrew-hydro/issues/26","id":58815437,"number":26,"title":"can't install openni2_camera on Yosemite","user":{"login":"Napoleon-BlownApart","id":6958677,"avatar_url":"https://avatars.githubusercontent.com/u/6958677?v=3","gravatar_id":"","url":"https://api.github.com/users/Napoleon-BlownApart","html_url":"https://github.com/Napoleon-BlownApart","followers_url":"https://api.github.com/users/Napoleon-BlownApart/followers","following_url":"https://api.github.com/users/Napoleon-BlownApart/following{/other_user}","gists_url":"https://api.github.com/users/Napoleon-BlownApart/gists{/gist_id}","starred_url":"https://api.github.com/users/Napoleon-BlownApart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Napoleon-BlownApart/subscriptions","organizations_url":"https://api.github.com/users/Napoleon-BlownApart/orgs","repos_url":"https://api.github.com/users/Napoleon-BlownApart/repos","events_url":"https://api.github.com/users/Napoleon-BlownApart/events{/privacy}","received_events_url":"https://api.github.com/users/Napoleon-BlownApart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-24T22:24:19Z","updated_at":"2015-02-25T01:40:30Z","closed_at":null,"body":"Trying to install ROS Hydro through Homebrew.\r\nWhilst resolving ROS dependencies, I received an error:  \r\n\r\n    user@home:[ 6:55]:~/ros/hydro/ros_catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro hydro -y\r\n    ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:\r\n    openni2_camera: No definition of [libopenni2-dev] for OS [osx]\r\n\r\nAfter looking up [Problem libOpenni2 for hydro installation with homebrew](http://answers.ros.org/question/201259/problem-libopenni2-for-hydro-installation-with-homebrew/), I followed the suggestion to modify the openni2_camera CMakeLists.txt file.  This didn't fix the problem, but I noticed the OP said they installed openni2.  So I tried installing openni2 myself; but without success:\r\n\r\n    user@home:[ 7:32]:~$ brew install openni2\r\n    ==> Installing openni2 from ros/homebrew-hydro\r\n    ==> Downloading https://launchpad.net/~v-launchpad-jochen-sprickerhof-de/+archiv\r\n    Already downloaded: /Library/Caches/Homebrew/openni2-2.1.0.4.tar.gz\r\n    ==> Downloading https://gist.github.com/NikolausDemmel/7901983/raw/3746869662473\r\n    ######################################################################## 100.0%\r\n    ==> Patching\r\n    patching file ThirdParty/GL/glh/glh_linear.h\r\n    ==> make\r\n    #include <libusb-1.0/libusb.h>\r\n             ^\r\n    1 error generated.\r\n    make[1]: *** [../Bin/Intermediate/x64-Release/libXnLib.a/XnLinuxUSB.o] Error 1\r\n    make: *** [ThirdParty/PSCommon/XnLib/Source] Error 2\r\n\r\n    READ THIS: http://git.io/brew-troubleshooting\r\n    If reporting this issue please do so at (not Homebrew/homebrew):\r\n      https://github.com/ros/homebrew-hydro/issues\r\n\r\nSo, here I am....\r\n\r\nSome background info about my setup:\r\n1.  Since I have macports installed, and have a huge number of important packages installed through it, I moved my /opt/local/ folder to ~/macports.  I cannot simply uninstall it by deleting everything.\r\n2.  I have a number of dynamic & static libraries as well as header files in my /usr/local/lib and /usr/local/include folders that I also can't simply delete\r\n3.  In my /opt/local/includes (which I moved to ~/macports as indicated above) I have the libusb-1.0 folder and the libusb.h header in it.  The install failed before and after  I moved the macports folder out.\r\n4.  I am trying to install ROS onto my Retina MacBook Pro 2014 15\" with Yosemite (10.10.2) installed.\r\n\r\nCheers,\r\nNap\r\n\r\nI can't resist making a comment about Macports and Homebrew.   I am disappointed with their sloppy organisation.  Both should be based in a folder named after their product, and of all the possible locations they could choose, both have made the worst choice possible.  This is a man made problem, not a technical problem."}}