I have compiled vlc(0.9.0) for my jvlc project with following configure options:
Code: Select all
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin -Wl,--add-stdcall-alias" CXX="g++ -mno-cygwin -Wl,--add-stdcall-alias" \
./configure \
--host=i686-pc-mingw32 \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug --enable-dca \
--disable-mkv --disable-taglib \
--disable-optimizations \
--enable-debug \
--enable-qt4
Code: Select all
== Starting VLCExample ==
Creating a JVLC instance with args:
0) C:\11-eclipseWorkspace\test-videos\t-en.mpg
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': Das angegebene Modul wurde nicht gefunden.
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:114)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:157)
at com.sun.jna.Library$Handler.<init>(Library.java:123)
at com.sun.jna.Native.loadLibrary(Native.java:260)
at com.sun.jna.Native.loadLibrary(Native.java:246)
at at.org.videolan.jvlc.internal.LibVlc.<clinit>(LibVlc.java:41)
at at.org.videolan.jvlc.JVLC.<init>(JVLC.java:45)
at at.org.videolan.jvlc.example.VLCExample.main(VLCExample.java:29)
Code: Select all
== Starting VLCExample ==
Creating a JVLC instance with args:
0) C:\11-eclipseWorkspace\test-videos\t-en.mpg
[00000018] main interface error: no interface module matched "hotkeys,none"
[00000018] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
... done.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'libvlc_media_new': Die angegebene Prozedur wurde nicht gefunden.
at com.sun.jna.Function.<init>(Function.java:126)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:219)
at com.sun.jna.Library$Handler.invoke(Library.java:191)
at com.sun.jna.Native$2.invoke(Native.java:583)
at $Proxy0.libvlc_media_new(Unknown Source)
at at.org.videolan.jvlc.MediaDescriptor.<init>(MediaDescriptor.java:49)
at at.org.videolan.jvlc.example.VLCExample.main(VLCExample.java:32)
cheers,
mkeuschn