SubstanceD / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

SimpleOpenNI-2.0 not working on Win 64 platform #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I have the following packages installed on my Windows 8 (64) PC
  'OpenNI-Windows-x64-2.1.0'
  'KinectSDK-v1.6'
and Kinect is already properly working with NiViewer.
2.I have checked-out 'SimpleOpenNI-2.0' and put 
'SimpleOpenNI-2.0/dist/all/SimpleOpenNI' under the Processing 'libraries' 
directory.
3.Try any example and it crashes (as expected... see 'additional information')

What is the expected output? What do you see instead?
Can't load SimpleOpenNI library (SimpleOpenNI64) : 
java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: 
SimpleOpenNI64
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation

What version of the product are you using? On what operating system?
  OpenNI-Windows-x64-2.1.0
  KinectSDK-v1.6
  SimpleOpenNI-2.0
  Windows 8 Enterprise (64bit)

Please provide any additional information below.
1. Well, the problem obviously results from the fact that 
'libSimpleOpenNI.jnilib' and 'SimpleOpenNI64.dll' are missing.
2. I've tried to build these 2 files but it turns out the 'src' folder in 
'SimpleOpenNI-2.0' doesn't contain all the necessary source files (e.g. 
SimpleOpenNI.i)?
3. I'm transfering from OpenNI v1 to v2 and thus is very excited to hear of 
SimpleOpenNI-2.0, which will presumably make all our current 
'SimpleOpenNI_preOpenNI2' codes still applicable to the new OpenNI framework.
Hence I'm very much eager to know:
  a. When will 'SimpleOpenNI-2.0.zip' be released, which includes all the required dlls?
  b. Or, when will all the source files get checked-in to the repository so that we can (laboriously) build 'SimpleOpenNI-2.0' ourselves ;-)

Thank you guys for this wonderful project!

Original issue reported on code.google.com by chokkyvi...@gmail.com on 10 Mar 2013 at 2:31

GoogleCodeExporter commented 8 years ago
BTW, I noticed that System.loadLibrary is replaced with System.load in 
SimpleOpenNI.java for the JNI dll-loading process.
But the directory prefix is not properly handled on the Windows platform as it 
is on the Unix. And hence I ran into the "Expecting an absolute path" error. 
Hope it get fixed soon! Thx!

Original comment by chokkyvi...@gmail.com on 11 Mar 2013 at 2:49

GoogleCodeExporter commented 8 years ago
Hey! Do you know if this issue has already been fixed? Regards!

Original comment by tacl...@gmail.com on 6 Apr 2013 at 4:40

GoogleCodeExporter commented 8 years ago
Seems not yet.
Quote from the author's reply:
"In order to get the kinect to work with openni2 i had to use the community 
driver:
https://github.com/piedar/OpenNI2-FreenectDriver
But this driver didn't worked with NITE, so i had to debug the source etc... 
It's coming, but it took more time as i expected."

Original comment by chokkyvi...@gmail.com on 6 Apr 2013 at 5:24