Quantcast

Installation of OpenNI2 in Linux

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Installation of OpenNI2 in Linux

karnivaurus
I am trying to install OpenNI2 on my Ubuntu machine. So, I downloaded the Occipital release from https://github.com/occipital/OpenNI2, and followed their instructions.

First, in the installation directory, I entered "make". Then, in "/Packaging", I entered "python ReleaseVersion.py x64". This created a file called OpenNI-Linux-x64-2.2.tar.bz2 in "/Packaging/Final", which I unzipped. Then, in "/Packaging/Final/OpenNi-Linux-x64-2.2", I entered "sudo ./install.sh".

However, I suspect that the libraries have not been installed in the correct locations, because another program that uses OpenNI2 does not work. Furthermore, running the command "SimpleViewer" does not work, even though I believe that it should have been written to "/usr/bin".

Any idea on why the installation seems to have not been successful, or how I can check if it was successful or not?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation of OpenNI2 in Linux

VictorLamoine
Administrator
This post was updated on .
Hello,

Does the following example work? (plug your Kinect on an USB2 port, try again with a USB3 if you want)
~/OpenNI2/Bin/x64-Release/NiViewer

Test again with the example in the release:
~/OpenNI-Linux-x64-2.2/Samples/Bin/NiViewer

You can get more information on how to install/use the package in the documentation:
~/OpenNI-Linux-x64-2.2/Documentation/getting_started.html

Bye
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation of OpenNI2 in Linux

karnivaurus
Hi,

Yes, those examples work. So I think that the build was fine within the directory I put the source code in. However, what I am asking about is whether the correct libraries have been written to places such as /usr/lib or /usr/bin during installation. I suspect that they have not, given that some other programs that depend on OpenNI2 are not working.

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation of OpenNI2 in Linux

josuerocha
I am having the same problem, it seems like the installer is not placing the .h files in usr/lib. Can anybody help please?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation of OpenNI2 in Linux

josuerocha
Somebody please help urgently because I need to meet a deadline for a project.

Thanks so much.
Loading...