I’m trying to compile and run the OpenNi sample programs on Windows 8.1 - for example ClosestPointViewer.
I downloaded Orbbec OpenNi, and executed SDK/samples/bin/ClosestPointViewer.exe and it worked (it displays a window that keeps track of the closest point to the camera).
Then I opened the source code project by ClosestPointViewer.vcxproj in Visual Studio 2017 and compiled it successfully (after adding lib and include paths).
The problem is when I run the code I get this error:
Open device failed:
DeviceOpen using default: no devices found
This also happens in other samples, such as SimpleViewer.