error installing openni_kinect from source code
I was trying to do the source-based installation of openni_kinect following the instructions here.
But when I typed make, it stopped with some errors:
g++ -MD -MP -MT "./Release/XnSensorImageGenerator.d Release/XnSensorImageGenerator.o" -c -malign-double -O2 -DNDEBUG -I/usr/include/openni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -fPIC -fvisibility=hidden -o Release/XnSensorImageGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp
../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp: In member function ‘virtual XnStatus XnExportedSensorImageGenerator::EnumerateProductionTrees(xn::Context&, xn::NodeInfoList&, xn::EnumerationErrors*)’:
../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp:397: error: no matching function for call to ‘xn::Context::CreateProductionTree(xn::NodeInfo&, xn::Device&)’
/usr/include/openni/XnCppWrapper.h:4827: note: candidates are: XnStatus xn::Context::CreateProductionTree(xn::NodeInfo&)
make[3]: *** [Release/XnSensorImageGenerator.o] Error 1
make[3]: Leaving directory `/home/vincent/drivers/ps_engine/build/ps_engine/Platform/Linux-x86/Build/XnDeviceSensorV2'
make[2]: *** [XnDeviceSensorV2] Error 2
make[2]: Leaving directory `/home/vincent/drivers/ps_engine/build/ps_engine/Platform/Linux-x86/Build'
make[1]: *** [installed] Error 2
make[1]: Leaving directory `/home/vincent/drivers/ps_engine'
make: *** [ps_engine_lib] Error 2
Has someone had the same problems before?