Simple-OpenNI 用于使用 Kinect 处理致命错误

发布于 2024-11-29 02:35:51 字数 1104 浏览 1 评论 0原文

整个夏天我都在使用 SimpleOpenNI,一个用于处理的包装器。我用它在 Kinect 上制作游戏和演示。上周,我在处理窗口中遇到了致命错误,并且所有 SimpleOpenNI 项目都无法工作。错误如下:

 SimpleOpenNI Version 0.20

 A fatal error has been detected by the Java Runtime Environment:

 EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x72e8f955, pid=4596, tid=4624

 JRE version: 6.0_24-b07
 Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
 Problematic frame:
 C  [OpenNI.dll+0xf955]

 An error report file with more information is saved as:
 C:\Users\mss042\Desktop\processing-1.5.1\hs_err_pid4596.log

 If you would like to submit a bug report, please visit:
   http://java.sun.com/webapps/bugreport/crash.jsp
 The crash happened outside the Java Virtual Machine in native code.
 See problematic frame for where to report the bug.

似乎新的 OpenNI/NITE/SensorKinect 驱动程序无法与 SimpleOpenNI 包装器一起使用。我已经与使用旧驱动程序的人尝试过,一切仍然有效。问题是,您无法从网站下载旧驱动程序,因此我无法测试是否是这样。您可以看到我从 simpleopenni 网站下载的所有内容:http://code.google.com /p/simple-openni/

任何有关此错误的帮助将不胜感激。谢谢。

麦克风

I have been using SimpleOpenNI, a wrapper for Processing, all summer now. I use it for the Kinect to make games and demos. Last week, I have been getting a fatal error in my processing window and none of the SimpleOpenNI projects will work. Here is the error:

 SimpleOpenNI Version 0.20

 A fatal error has been detected by the Java Runtime Environment:

 EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x72e8f955, pid=4596, tid=4624

 JRE version: 6.0_24-b07
 Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
 Problematic frame:
 C  [OpenNI.dll+0xf955]

 An error report file with more information is saved as:
 C:\Users\mss042\Desktop\processing-1.5.1\hs_err_pid4596.log

 If you would like to submit a bug report, please visit:
   http://java.sun.com/webapps/bugreport/crash.jsp
 The crash happened outside the Java Virtual Machine in native code.
 See problematic frame for where to report the bug.

It appears as if the new OpenNI/NITE/SensorKinect drivers do not work with the SimpleOpenNI wrapper. I have tried it with people using the old drivers and everything still works. Problem is, you cannot download the old drivers off of the websites so I cannot test if it's that or not. You can see everything I've downloaded from the simpleopenni site: http://code.google.com/p/simple-openni/

Any help with this error would be appreciated. Thanks.

Mike

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笑着哭最痛 2024-12-06 02:35:51

OpenNI.dll 似乎有问题。确保:

  1. 您拥有 dll(它应该位于安装 OpenNI 的程序文件中)
  2. 确保您拥有 Open NI 路径的环境变量并且路径正确,否则,您可能拥有 . dll 文件,但 .jnilib 不知道它在哪里。

在大学有一个 Kinect 研讨会,我使用 Windows 的同事都遇到了驱动程序问题,
所以我只是传递他们所做的事情:
即使他们有 64 位版本的 Windows,他们也使用 32 位版本,并使用 Brekel OpenNI Kinect 自动安装程序 - 开发版 v1.3.2.3.exe(通过 developkinect 直接链接。 com)阅读此消息后:

评论 4,作者:[电子邮件受保护],2011 年 10 月 21 日我拥有的一切解决了
windows 7 64位上安装java出现unsatisfied link dll错误
运行时 (jre-7u1-windows-i586.exe) 和 (Brekel OpenNI Kinect Auto
安装程序 - 开发人员版 v1.3.2.3.exe)我卸载了所有内容
比它有效:)

希望这有帮助

Issue#17 在 SimpleOpenNI 项目问题页面上。

另一位同事在处理中使用了 Synapse 和 OSC 而不是 SimpleOpenNI,但她有驱动程序存在大量错误(基本上花了几个小时卸载/安装不同版本)。就她而言,从计算机中卸载任何以前的部分或完整驱动程序并删除与 PrimeSense(Sensor、Nite)和 OpenNI 相关的任何注册表项,然后使用 Synapse 页面上的链接中的安装程序,对她来说很有效。

华泰

It looks like there's a problem with OpenNI.dll. Make sure that:

  1. You have the dll (It should be in Program Files where you've installed OpenNI)
  2. Make sure you've got the Environment Variables for the Open NI paths and that the paths are correct, otherwise, you might have the .dll file, but the .jnilib wouldn't know where it is.

Had a Kinect Workshop in Uni, and my colleagues using Windows all had issues with the drivers,
so I'm just passing on what they did:
Even though they had 64-bit versions of Windows they used the 32-bit version, and used Brekel OpenNI Kinect Auto Installer - Developer Edition v1.3.2.3.exe(direct link via developkinect.com) after reading this message:

Comment 4 by [email protected], Oct 21, 2011 Hey all I have Solved
the unsatisfied link dll error on windows 7 64 bits by installing java
runtime (jre-7u1-windows-i586.exe)and (Brekel OpenNI Kinect Auto
Installer - Developer Edition v1.3.2.3.exe) I uninstalled everything
and than it worked :)

hope this helpes

in Issue#17 on the SimpleOpenNI project issues page.

Another colleague used Synapse and OSC in Processing instead of SimpleOpenNI, but she had loads of errors with the drivers (basically spent a few good hours uninstalling/installing different versions). In her case, uninstalling any previous partial or complete drivers from the machine and deleting any registry entries related to PrimeSense(Sensor, Nite) and OpenNI, then using the installers from the links on the Synapse page, worked for her.

HTH

入画浅相思 2024-12-06 02:35:51

这个可能性不大,但如果 Kinect USB 和/或电源被拔掉,也会给出确切的错误。认为值得一提的是,因为从错误消息本身来看并不明显,如果有人踢掉电源并开始搜索上述异常,它可能会对他们有所帮助:)

This is a long shot, but that exact error is also given if the Kinect USB and/or power supply simply becomes unplugged. Thought it was worth mentioning as it is not obvious from the error message itself and it may help someone out if they kicked their power supply and started searching for the above exception :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文