OpenNI / OpenNI2

OpenNI2
Apache License 2.0
432 stars 892 forks source link

NiViewer has no GUI #105

Open dorienh opened 7 years ago

dorienh commented 7 years ago

I am on Mac with Kinect v2.

When I run NiViewer I don't get any GUI, but just the below code. Does this mean it is working correctly?

/usr/local/Cellar/openni2/2.2.0-debian/share/openni2/tools/NiViewer ; exit;
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 10 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @1:4 with serial 015203352347
[Info] [Freenect2Impl] found 1 devices
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 10 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @1:4 with serial 015203352347
[Info] [Freenect2Impl] found 1 devices
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20*16384 ir: 4*128*33792
[Info] [Freenect2DeviceImpl] opened
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [RgbPacketStreamParser] packetsize or sequence doesn't match!
[Info] [Freenect2DeviceImpl] started
2017-04-04 23:20:26.953 NiViewer[81124:4295177] GLUT Warning: glutInit being called a second time.
[Info] [DepthPacketStreamParser] 4 packets were lost
[Info] [DepthPacketStreamParser] 8 packets were lost
Tenkir commented 6 years ago

Same issue here, did you ever find a solution?

laihaotao commented 6 years ago

Hi guys, any solution?

[solved] update a little bit:

need to define the envir_variable, specify cl or gl .....