2011-08-09 50 views
2

我一直在使用SimpleOpenNI,處理包裝,整個夏天。我將它用於Kinect來製作遊戲和演示。上週,我在處理窗口中發現了一個致命錯誤,並且沒有一個SimpleOpenNI項目能夠正常工作。以下是錯誤:Simple-OpenNI用於處理Kinect致命錯誤

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/

與此錯誤的任何幫助將不勝感激。謝謝。

Mike

回答

0

看起來好像OpenNI.dll有問題。確保:

  1. 你有DLL(這應該是在你安裝OpenNI Program Files文件)
  2. 確保你已經有了開放NI路徑的環境變量和路徑是正確的,否則,你可能有.dll文件,但是.jnilib不知道它在哪裏。

了Kinect的研討會統一,和我的同事使用Windows所有曾與司機, 所以我只是路過他們做了什麼問題: 即使他們有Windows的64位版本,他們使用32位版本,並使用BREKEL OpenNI Kinect Auto Installer - Developer Edition v1.3.2.3.exe(通過developkinect.com直接鏈接)閱讀此消息後:

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

Issue#17的SimpleOpenNI項目問題頁面上。

另一位同事在處理中使用了Synapse和OSC而不是SimpleOpenNI,但她在驅動程序中出現了大量錯誤(基本上花了幾個好時間卸載/安裝不同的版本)。在她的情況下,從計算機上卸載任何以前的部分或完整驅動程序,並刪除與PrimeSense(Sensor,Nite)和OpenNI相關的任何註冊表項,然後使用Synapse頁面上鍊接的安裝程序爲她工作。

HTH

0

這是一個長鏡頭,但也考慮到精確的錯誤,如果Kinect的USB和/或電源乾脆變成拔出。認爲這值得一提,因爲它從錯誤信息本身並不明顯,如果他們踢掉電源並開始搜索上述例外,它可能會幫助某人。:)