Getting UnsatisfiedLinkError with Daniel Shiffman's Processing library for Kinect - processing

I'm trying to get some of the examples in Daniel Shiffman's updated Kinect library to work. I installed openkinect, and have all the libraries in the right place. I'm not really sure what the problem is, but the glview test in the terminal works fine with the Kinect plugged in. I'm running 10.5.8 on an intel Macbook (2007) and am using Processing 1.21. I realized that nearly everyone running the libraries are using Snow Leopard, could that be the problem? Any help would be appreciated.
EDIT: I found this page which was very helpful, but alas I am still getting errors.
http://openkinect.org/wiki/Installation/Compilation_Guides
Oddly the openframeworks demo works perfectly, so I don't think the installation of openkinect was the problem. I asked the same question on the google groups page for openkinect. I'm not the only one with this problem, I saw it popping up on the Processing forums as well. Don't hesitate to ask if there's anything I can clarify.
Here are the errors:
processing.app.debug.RunnerException: UnsatisfiedLinkError: /Users/milespeyton/Desktop/projects/processing/libraries/openkinect/library/libKinect.jnilib:
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:583)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /Users/milespeyton/Desktop/projects/processing/libraries/openkinect/library/libKinect.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.openkinect.Context.<clinit>(Context.java:43)
at org.openkinect.processing.Kinect.start(Kinect.java:40)
at RGBDepthTest.setup(RGBDepthTest.java:33)
at processing.core.PApplet.handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:613)

For anyone with the same problem, I solved it by upgrading to Snow Leopard. I'm not exactly sure why this worked, but all of the Kinect Processing libraries work fine for me now.

Related

Qt program have no text and i haven't font error

sorry if my english isn't perfect but my first language is french.
My problem is I have a cross-compiler on my window for raspbian and i finally did it, but when i execute the program on my pi the widget on window has no text and i don't have a close button. Someone gave me a code that works perfectly on his raspberry pi and i have the same result. With both codes it's the same result: just the basic window with a push button "test" written over it. So I know that my issue isn't my cross compiler but is on my pi. I tried to uninstall qt5-default package,reinstall it and upgrade all packages, but isn't effective. i tried to run linuxfb plugin with this command -./myprogram -platform linuxfb but i have the graphical bug... take a look at this picture.
my program it's on the left corner
I have also posted on Qt forum, but the reply time is very slow. it'll have been three weeks that i tried to find the issue. if anyone can provide a solution or an idea for this problem i will take any suggestions.
Thanks for reading this message.
Kuba Ober gave me a solution to solved it take a another microsd reinstall a raspbian img with qt5 and it's work!!! but what is exactly the issue i don't know but this solution work.
I know that my issue isn't my cross compiler but is on my pi
That's unlikely - it's easy to check: download a fresh Raspbian image to an SD card, boot it up, and try your code out.
You forgot the more likely reason: you probably have built a non-fully-functional copy of Qt. I bet it won't work on anyone's Raspberry Pi, including your friend's.
Your issue is actually the --platform plugin you are using, linuxfb won't have any Windows borders because it's writing directly to the frame buffer, not to the X server. You need to use xcb.
And don't run it as root or you are likely to loose your DISPLAY environment.

Game App cannot run in Genymotion

I am having trouble loading a game app on genymotion. The game is Star Wars Force Collection. I can load the game, get the splash screens, then it crashes.
I have done some research before I posted here. The possible problems found in the genymotion logcat file:
There was a line noting Google services was out of date, "Google Play services out of date. Requires 4030500 but found 3225136"
Fatal signal 11 (SIGSEGV) at 0x00000364 (code=1), thread 1796 (RefQueueWorker#)
W/NetworkManagementSocketTagger( 280): setKernelCountSet(10040, 1) failed with errno -1
Some have pointed out ARM Translator problem and OpenGL.
Then again I'm really not sure the problem, and I want to post the logcat file here but I don't know how to attach it.
For problem 1, I have seen other thread here that may have fixed it with code, I'm not savvy enough for that and my Google is not updating itself.
That's about it. A few details about genymotion and the VM. I am running the latest version of genymotion and virtualbox. I am using the downloaded Custom image 4.3 as provided by Genymotion. I flashed the ARM Translation v1.1. I flashed the Gapps onto it, (I tried a higher version of Gapps to try and solve the problem, but that just made it crash) and then Star Wars Force Collection, most up to date version.
Also, worth noting that the app was running fine for v2.++, until an update to v3.++ made the game crash. I updated my graphics drivers to try and mend any graphics issues.
So there it is, any suggestions will be appreciated.

Windows 8.1 installation fail 0xC1900101 - 0x40017

I want to make a Windows store application using the monogame libraries, but for this purpose, I need to install Windows 8.1. The installation fails and gives me the error
0xC1900101 - 0x40017
This error is quite large and alot of people have had or still have it. I made alot of research on it and it seems that this problem is caused by driver incompatibility. I tried the installation about 15 times now, every time updating some drivers, installing updates, etc.
On the installation, it stops at 84% on "Applying PC parameters" step.
So I believe that the problem is that one of my drivers in incompatible and I need to remove it so here are my specs/peripherals:
ASUS G75VW qs71 laptop (16GB RAM, i7 ivy bridge) (I don't think it is the problem, since my friend has the same and it worked for him)
- Logitech G930 Gaming Headset
- Razer Orochi Mouse (Not the 2013, but the 2012)
If some of these drivers are incompatible, please tell me how to remove them.
Thank you.
P.S. I'm not sure if this question is relevant for this site, but it is somewhat programming related and I need it to do programmation.

Canon EDSDK 2.11 on OSX EdsOpenSession exc_bad_access

I'm trying to use the Canon EDSDK 2.11 on OSX with a EOS Xsi. I tried running the sample code, I've written my own code, and I even downloaded openFrameworks and an add-on for the Canon EDSK, ofxCanon, and ran its sample code. Every time any of the code reaches a call to EdsOpenSession I get a exc_bad_access error.
Can anyone tell me what might be going on and what I might be doing wrong?
I had the same problem. It seems there is some issues with the SDK downloaded from Canon site.
Here what you can try, it solved the problem for me.
Install and update EOSUtility (make sure it works)
Go to /Applications/Canon Utilities/
Show Package Content of EOS Utility.
In frameworks directory you will have EDSDK.framework
Copy it over the one you got from Canon site.
Hope it will help.

Xcode DMG for Snow Leopard consistently not mounting

I am running Snow Leopard 10.6.8 and attempting to install Xcode 4.2 for Snow Leopard. (This one, the blue download link from the dev center).
However, the DMG always gives this error (not recognised) when I try to open it.
Does anyone have any experience with this problem? It seems odd that all other DMGs should work apart from this one. Could this mean my computer is incompatible with Xcode 4.2? Or, am I downloading the wrong one?
I hope this is an acceptable question for SO, as I hope someone has had and solved this problem. General Googling for an unrecognised DMG has yielded nothing but 'redownload DMG', which I have done three times already.
Many, many thanks.
Despite downloading the DMG three times, I tried in Safari instead of Chrome as I had been doing and it working perfectly.
If anyone else has this similar 'DMG not recognised' error and finds their way here: try another browser.

Resources