ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Unable to install libopenni2-dev

asked 2015-01-26 02:26:31 -0500

Xin gravatar image

Hi, I am using Odroid XU3(Arm Processor), Ubuntu 12.04(Precise) and ROS(Hydro). When I try to build my OpenNI2_camera, I got these error

-- checking for module 'libopenni2' -- package 'libopenni2' not found -- checking for module 'openni2' -- package 'openni2' not found

Than I found out that installing libopenni2-dev will solve the problem, but when I try to apt-get install, I get these error

Package libopenni2-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libopenni2-dev' has no installation candidate

I am new these programs, can anyone help me with this problem, Thanks.

edit retag flag offensive close merge delete


I think I need a PPA to source for libopenni2-dev for Arm processor.

Xin gravatar image Xin  ( 2015-01-26 03:27:27 -0500 )edit

Did you get this working? Im having the same error?

miguel gravatar image miguel  ( 2015-08-15 04:42:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-02 16:23:33 -0500

130s gravatar image

Not sure about the history, but I found the binary repositories of libopenni2-dev has been migrated from to .

On my Trusty

$ apt-cache policy libopenni2-dev
  Version table:
 *** 0
        500 trusty/main amd64 Packages
        100 /var/lib/dpkg/status


$ apt-cache policy libopenni2-dev
  Version table:
 *** 500
        500 xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

Thus, OP was on Hydro then, make sure you specify as a source list, something like this for your distro.

Also OP was on ARM. I doubt there was a binary build for openni2* packages for ARM on Hydro. In ROS Indigo there is (and going onward I assume).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-26 02:26:31 -0500

Seen: 1,148 times

Last updated: Feb 02 '18