我剛開始使用Xuggle和我下載的一切到Eclipse中,我將之列入他們在引用的庫,但我做了一個非常簡單的測試,我該如何安裝/配置Xuggle才能獲得UnsatisfiedLinkError?
package com.xuggle.xuggler.demos;
import com.xuggle.xuggler.IContainer;
public class getContainerInfo {
public static void main (String [] args){
IContainer myContainer = IContainer.make();
}
}
和它拋出一堆錯誤,
2011-06-12 16:26:52,142 [main] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle-xuggler; version: 3; Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xuggle-xuggler in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:265)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:168)
at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
at com.xuggle.xuggler.IContainer.<clinit>(IContainer.java:1457)
at com.xuggle.xuggler.demos.getContainerInfo.main(getContainerInfo.java:9)
mybe這將有助於 - http://stackoverflow.com/questions/957700/how-to-set-the-java-library-path-from-eclipse – bigoldbrute 2011-06-12 20:42:32
堆棧跟蹤建議:_「訪問http:///www.xuggle.com/xuggler/faq/找到解決此問題的通用解決方案「_。是你做的嗎? – 2011-06-12 20:43:25
我明白了我只是忘了在安裝過程中遵循一些步驟。非常感謝! – 2011-06-12 21:08:23