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?
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.