librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

The error(SimpleViewer: Device open failed: DeviceOpen using default: no devices found)

Open coldcoda opened this issue 7 years ago • 7 comments

Hello @dorodnic , @martinus , @seebq When I recompile the SimpleViewer project (the example of OpenNI2), and run it that prompting no device. image

But I can launch any OpenNI2 example (SimpleRead SimpleViewer NiViewer) located at OPENNI2_DIR/Samples/Bin/ .

So what's wrong with my project? And how can I solve it? Can you give me some advices? Thanks a lot!!!

coldcoda avatar Apr 15 '19 14:04 coldcoda

I have solved it!

coldcoda avatar Apr 18 '19 11:04 coldcoda

I'm having the same problem but with processing what did you do to fix it?

ghost avatar Apr 18 '19 13:04 ghost

Have you got the rs2driver.dll and realsense2.dll? You can copy them to your OPENNI2's directory (like me: D:\Program Files\OpenNI2\Redist\OpenNI2\Drivers)

coldcoda avatar Apr 18 '19 14:04 coldcoda


Hi coldcoda, Thanks for the updates.

Hi, maybe I am missing something, but where can I find rs2driver.dll and realsense2.dll?

thanks

eliotts avatar Mar 09 '20 21:03 eliotts

I have solved it!

How? Are you sure you can stream a Real Sense Sensor using OpenNI2?

jiapei100 avatar Jul 10 '24 20:07 jiapei100

Hi @jiapei100 Yes, RealSense cameras have a compatibility 'wrapper' for OpenNI2.

https://github.com/IntelRealSense/librealsense/tree/master/wrappers/openni2

MartyG-RealSense avatar Jul 11 '24 06:07 MartyG-RealSense