I manage to compile and install opencv with OpenNI2 in Lubunutu (Arm). I tested the example provided in /samples/cpp/openni_capture.cpp and it succeeds in communicating with the sensor and displaying the information about it. However, the program reaches a points just before showing the images/data and nothing happens, the program hangs in the line 267 ( if(!capture.grab() ). I wrote some lines to make sure that the problem is in that function and it is, I'm quite sure. Thanks