Processing 1.2.1, GSVideo .6 and GStreamer OSX Leopard (10.5.8 and 10.6.4) problems
in
Contributed Library Questions
•
3 years ago
On a Mac with OSX 10.6.4,
when I run the GSVideo and Video FrameDifferencing example in Processing IDE 1.21 with GSVideo 0.6-pre5 it throws these errors:
[0] "dyld: lazy symbol binding failed: Symbol not found: _iconv_open"
[1] " Referenced from: /System/Library/Frameworks/
JavaVM.framework/Versions/1.6.
0/Libraries/libnpt.jnilib"
[2] " Expected in: /Library/GStreamer/lib/
libiconv.2.dylib"
[3] ""
[4] "dyld: Symbol not found: _iconv_open"
[5] " Referenced from: /System/Library/Frameworks/
JavaVM.framework/Versions/1.6.
0/Libraries/libnpt.jnilib"
[6] " Expected in: /Library/GStreamer/lib/
libiconv.2.dylib"
[7] ""
Using startup command:
{command=command=java -d32 -Xrunjdwp:transport=dt_socket,
address=
127.0.0.1:8048,
suspend=y -Xdock:name=FrameDifferencing -Djava.library.path=:/
Applications/Processing.app/
Contents/Resources/Java/
libraries/video/library:/
Library/GStreamer/lib:/
Applications/Processing.app/
Contents/Resources/Java:/
System/Library/
PrivateFrameworks/
JavaApplicationLauncher.
framework/Resources:.:/Users/
ekeneijeoma/Library/Java/
Extensions:/Library/Java/
Extensions:/System/Library/
Java/Extensions:/usr/lib/java -cp /var/folders/+f/+
fzobroQG0mv9Q0lv1ZgcE+++TI/-
Tmp-/build3288802046321562817.
tmp:/Applications/Processing.
app/Contents/Resources/Java/
libraries/video/library/video.
jar:/Applications/Processing.
app/Contents/Resources/Java/
pde.jar:/Applications/
Processing.app/Contents/
Resources/Java/core.jar:/
Applications/Processing.app/
Contents/Resources/Java/ant.
jar:/Applications/Processing.
app/Contents/Resources/Java/
ant-launcher.jar:/
Applications/Processing.app/
Contents/Resources/Java/antlr.
jar:/Applications/Processing.
app/Contents/Resources/Java/
ecj.jar:/Applications/
Processing.app/Contents/
Resources/Java/jna.jar:/
Applications/Processing.app/
Contents/Resources/Java/
quaqua.jar -ea processing.core.PApplet "--editor-location=495,22" --external --display=1 "--sketch-path=/Applications/
Processing.app/Contents/
Resources/Java/examples/
Library/Video (Capture)/FrameDifferencing" FrameDifferencing , quote=quote=", address=address=
127.0.0.1:8048
}
I commented these lines:
setenv DYLD_LIBRARY_PATH “/Library/GStreamer/lib”
setenv GST_PLUGIN_PATH “/Library/GStreamer/lib/ gstreamer-0.10″
setenv GST_PLUGIN_PATH “/Library/GStreamer/lib/
but it throws the same errors.
And on another Mac with OSX 10.5.8
it throws these errors
This version of Processing only supports libraries and JAR files compiled for Java 1.5.
A library used by this sketch was compiled for Java 1.6 or later,
and needs to be recompiled to be compatible with Java 1.5.
Exception in thread "Animation Thread" java.lang.
UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.
defineClass1(Native Method)
at java.lang.ClassLoader.
defineClass(ClassLoader.java:
675)
at java.security.
SecureClassLoader.defineClass(
SecureClassLoader.java:124)
at java.net.URLClassLoader.
defineClass(URLClassLoader.
java:260)
at java.net.URLClassLoader.
access$100(URLClassLoader.
java:56)
at java.net.URLClassLoader$1.run(
URLClassLoader.java:195)
at java.security.
AccessController.doPrivileged(
Native Method)
at java.net.URLClassLoader.
findClass(URLClassLoader.java:
188)
at java.lang.ClassLoader.
loadClass(ClassLoader.java:
316)
at sun.misc.Launcher$
AppClassLoader.loadClass(
Launcher.java:280)
at java.lang.ClassLoader.
loadClass(ClassLoader.java:
251)
at java.lang.ClassLoader.
loadClassInternal(ClassLoader.
java:374)
at org.gstreamer.GstObject.<
clinit>(GstObject.java:46)
at codeanticode.gsvideo.
GSCapture.init(GSCapture.java:
322)
at codeanticode.gsvideo.
GSCapture.initOS(GSCapture.
java:295)
at codeanticode.gsvideo.
GSCapture.<init>(GSCapture.
java:53)
at FrameDifferencing.setup(
FrameDifferencing.java:41)
at processing.core.PApplet.
handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(
PApplet.java:1503)
at java.lang.Thread.run(Thread.
java:613)
What else should I try? Thanks.
1