mimiraluna / simple-openni

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

Trying to make a small bundle and deploy for mac #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. I wrote an application in Java using Eclipse with processing, libMapper and 
simpleOpenNI.
2. I want to make a bundle to deploy to mac users without requiring them to 
install 100Mb of libraries.
3. I'm including in the bundle

SimpleOpenNI.jar    
libSimpleOpenNI.jnilib      
libSimpleOpenNI64.so
libSimpleOpenNI.so
SimpleOpenNI32.dll  
SimpleOpenNI64.dll  

libOpenNI.dylib
libXnVNite_1_5_2.dylib
libusb-1.0.0.dylib

and have changed the install names.

What is the expected output? What do you see instead?
In my computer it is ok, but anywhere else I'm getting the error:

Current thread (10c9fd000):  JavaThread "Animation Thread" [_thread_in_native, 
id=556507136, stack(1211ba000,1212ba000)]
Stack: [1211ba000,1212ba000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  
SimpleOpenNI.SimpleOpenNIJNI.ContextWrapper_enableUserSwigExplicitContextWrapper
(JLSimpleOpenNI/ContextWrapper;I)Z+0
j  SimpleOpenNI.ContextWrapper.enableUser(I)Z+28
j  SimpleOpenNI.SimpleOpenNI.enableUser(ILjava/lang/Object;)Z+17
j  SimpleOpenNI.SimpleOpenNI.enableUser(I)Z+6
j  Painting.setup()V+38
j  processing.core.PApplet.handleDraw()V+65
j  processing.core.PApplet.run()V+51
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

That comes from:

Thread 24 Crashed:  Java: Animation Thread
0   libOpenNI.dylib                 0x000000012358ba26 xnSetSkeletonProfile + 22
1   libSimpleOpenNI.jnilib          0x000000012346eb95 
xn::SkeletonCapability::SetSkeletonProfile(XnSkeletonProfile) + 35
2   libSimpleOpenNI.jnilib          0x0000000123474a4c 
sOpenNI::ContextWrapper::createUser(int, bool) + 238
3   libSimpleOpenNI.jnilib          0x0000000123474d12 
sOpenNI::ContextWrapper::enableUser(int) + 102
4   libSimpleOpenNI.jnilib          0x000000012344c43e 
Java_SimpleOpenNI_SimpleOpenNIJNI_ContextWrapper_1enableUserSwigExplicitContextW
rapper + 69

Original issue reported on code.google.com by falcides...@gmail.com on 15 May 2012 at 5:14