Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in video library 1.0.1--com.sun.jna.native #35

Open
tybowman opened this issue Oct 18, 2015 · 11 comments
Open

error in video library 1.0.1--com.sun.jna.native #35

tybowman opened this issue Oct 18, 2015 · 11 comments

Comments

@tybowman
Copy link

the update to Video 1.0.1 The Processing Foundation GStreamer-based video library for Processing 3 for windows throws the same error when i try to run any of the examples, "noclassdeffounderror:could not initialize class com.sun.jna.native". i updated my java, uninstalled and reinstalled the library and restarted the os, win 7, 3 times and still the error. i will now revert to version 1.0.0 until this is fixed.

@codeanticode
Copy link
Member

What OS are you on? I tested the 1.0.1 release of the library with Processing 3.0 on Mac OS X 10.10.5 and Windows 10, and didn't get any errors.

@lhaclove
Copy link

got the same error on latest version of processing, and I change to 3b7 and the error is gone and I got not video capture. maybe there is something wrong with my tablet (Chinese brand),

@tybowman
Copy link
Author

I am using win 7 home premium. It says p3 is only tested on win 7 and 8.1. that is why I just bought a win 7 pro computer.

From: codeanticode [mailto:[email protected]]
Sent: Tuesday, October 20, 2015 8:22 AM
To: processing/processing-video [email protected]
Cc: tybowman [email protected]
Subject: Re: [processing-video] error in video library 1.0.1--com.sun.jna.native (#35)

What OS are you on? I tested the 1.0.1 release of the library with Processing 3.0 on Mac OS X 10.10.5 and Windows 10, and didn't get any errors.


Reply to this email directly or view it on GitHub #35 (comment) . https://github.com/notifications/beacon/AHEPDOwgF-Lde94SC1pt5X5aZCm4SVlqks5o9lO1gaJpZM4GQ720.gif

@codeanticode
Copy link
Member

I tested the version 1.0.1 of the video library on OS X 10.10, Ubuntu Linux 12.04, and Windows 10, and in all cases the video and capture examples run without errors. @benfry maybe you have a way to test on older version of Windows, so far I cannot reproduce the apparent JNA incompatibility reported here.

@dali20
Copy link

dali20 commented Oct 25, 2015

i have problem in "capture" exemple the problem in this ligne " String[] cameras = Capture.list();" "
""A library relies on native code that's not available.
Or only works properly when the sketch is run as a 64-bit application."" i have 32bit windows, any one help me thankx :)

@bckmnn
Copy link

bckmnn commented Oct 27, 2015

i had the exact same error message on a windows 7 machine with processing 3.0 & 3.0.1 in 32 & 64 bit. it turned out to be an issue with where my user folder was located. due to it policy my user folder as well as my sketchbook is on a networkshare. after moving it to a local disk everything worked fine.

@codeanticode
Copy link
Member

@dali20 your problem is probably different, sounds like there was a problem with the installation of the video library and some files are missing. The library comes with 32 and 64bit versions of GStreamer, so it should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?

@bckmnn
Copy link

bckmnn commented Oct 27, 2015

Actually I had this problem with all releases. Between the different processing versions the only thing that changed was the error message. In 3.0 it was the jna error in 3.0.1 it says the library might not be installed correctly or just working with 64 or 32 bit version of processing depending which version you are using. I will update the exact error messages when I am back at my workplace.

Am 27.10.2015 um 14:44 schrieb codeanticode [email protected]:

@dali20 your problem is probably different, sounds like there was a problem with the installation of the video library and some files are missing. The library comes with 32 and 64bit versions of GStreamer, so it should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?


Reply to this email directly or view it on GitHub.

@dali20
Copy link

dali20 commented Oct 30, 2015

okay thankx, cant u send me the full librery

2015-10-27 16:29 GMT+01:00 bckmnn [email protected]:

Actually I had this problem with all releases. Between the different
processing versions the only thing that changed was the error message. In
3.0 it was the jna error in 3.0.1 it says the library might not be
installed correctly or just working with 64 or 32 bit version of processing
depending which version you are using. I will update the exact error
messages when I am back at my workplace.

Am 27.10.2015 um 14:44 schrieb codeanticode [email protected]:

@dali20 your problem is probably different, sounds like there was a
problem with the installation of the video library and some files are
missing. The library comes with 32 and 64bit versions of GStreamer, so it
should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#35 (comment)
.

@SiruiChen1993
Copy link

I also have such problem!(error in video library 1.0.1--com.sun.jna.native) The vision of my computer is windows 7 with 64 bits. I also tried the solution which installs WinVDIG 1.0.1 and quicktime, but it doesn't work. I don't know why. Can someone help me ?

@codeanticode
Copy link
Member

Hi everyone, I know this is an old issue, but if still relevant, I'd recommend using the latest beta of the video library. It has to be installed manually as it is not yet available through the Contributions Manager, but the upcoming stable v2.0 release will be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants