To drive kinnect 1 on ubuntu, we nedd to install kinnect sensor.
1. clone
https://github.com/avin2/SensorKinect.git
2. fix
https://github.com/avin2/SensorKinect/pull/5
just adding the missing function in both XnSensorDepthGenerator.h and XnSensorDepthGenerator.cpp files