Processing: Failed to initialize PXCUPipeline

Processing: Failed to initialize PXCUPipeline

When attempting to run any of the samples (e.g., helloProcessing) to interact with the Gesture camera, I always receive the following error:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.xvolks.jnative.pointers.memory.MemoryBlockFactory.setPreferredMemoryType(MemoryBlockFactory.java:25)
    at org.xvolks.jnative.pointers.memory.MemoryBlockFactory.createMemoryBlock(MemoryBlockFactory.java:44)
    at org.xvolks.jnative.misc.HKEY.createPointer(HKEY.java:67)
    at org.xvolks.jnative.misc.HKEY.<init>(HKEY.java:34)
    at org.xvolks.jnative.misc.HKEY.<clinit>(HKEY.java:19)
    at intel.pcsdk.PXCUPipeline.<clinit>(PXCUPipeline.java:48)
    at helloProcessing.<clinit>(helloProcessing.java:32)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at processing.core.PApplet.runSketch(PApplet.java:9867)
    at processing.core.PApplet.main(PApplet.java:9678)
Caused by: java.lang.UnsatisfiedLinkError: org.xvolks.jnative.JNative.nMalloc(I)I
    at org.xvolks.jnative.JNative.nMalloc(Native Method)
    at org.xvolks.jnative.JNative.allocMemory(JNative.java:722)
    at org.xvolks.jnative.pointers.memory.HeapMemoryBlock.reserveMemory(HeapMemoryBlock.java:34)
    at org.xvolks.jnative.pointers.memory.HeapMemoryBlock.<init>(HeapMemoryBlock.java:21)
    ... 19 more
java.lang.NoSuchMethodException: class org.xvolks.jnative.pointers.memory.HeapMemoryBlock not found
    at org.xvolks.jnative.pointers.memory.MemoryBlockFactory.setPreferredMemoryType(MemoryBlockFactory.java:33)
    at org.xvolks.jnative.pointers.memory.MemoryBlockFactory.createMemoryBlock(MemoryBlockFactory.java:44)
    at org.xvolks.jnative.misc.HKEY.createPointer(HKEY.java:67)
    at org.xvolks.jnative.misc.HKEY.<init>(HKEY.java:34)
    at org.xvolks.jnative.misc.HKEY.<clinit>(HKEY.java:19)
    at intel.pcsdk.PXCUPipeline.<clinit>(PXCUPipeline.java:48)
    at helloProcessing.<clinit>(helloProcessing.java:32)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at processing.core.PApplet.runSketch(PApplet.java:9867)
    at processing.core.PApplet.main(PApplet.java:9678)
org.xvolks.jnative.exceptions.NativeException: java.lang.NoSuchMethodException: class org.xvolks.jnative.pointers.memory.HeapMemoryBlock not found
    at org.xvolks.jnative.pointers.memory.MemoryBlockFactory.createMemoryBlock(MemoryBlockFactory.java:50)
    at org.xvolks.jnative.misc.HKEY.createPointer(HKEY.java:67)
    at org.xvolks.jnative.misc.HKEY.<init>(HKEY.java:34)
    at org.xvolks.jnative.misc.HKEY.<clinit>(HKEY.java:19)
    at intel.pcsdk.PXCUPipeline.<clinit>(PXCUPipeline.java:48)
    at helloProcessing.<clinit>(helloProcessing.java:32)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at processing.core.PApplet.runSketch(PApplet.java:9867)
    at processing.core.PApplet.main(PApplet.java:9678)
Failed to initialize PXCUPssssipeline

Any help would be appreciated. I've now tried this on four computers including Windows 7 and 8, Ultrabook and desktop.

Edit: I guess Processing 1.5.1 may work, I was trying Processing 2.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I have forwarded this question to the development team and it will be back to you soon.

Processing 2 is 64-bit based. The PCSDK beta3 only supports Processing 1.5.1 32-bit.

The porting method uses JNative, which is 32-bit only. We will move away from JNative in next release.

 

Antonio Carlos S.'s picture

Hey

When i try to run the helloProcessing example the same message appeared to me "Failed to initialize PXCUPipeline"
I tested it in processing 1.5.1 and 2.08 .

My sistem is windous 7 64bits

thank you.

Login to leave a comment.