Hi,I am trying to open VLC in JAVA and I think solution is to try JVLC.
After lots and lots of errors and fixes, I could compile JVLC by modifing make file.
and now it gives me error when I try to run it.
Eception in thread "Main" java.lang.UNsatisfiedLinKError
when I try to run SwingClient
Can someone please help me? I have been trying to work around this forever.
Code: Select all
/home/harisson/workspace/vlc-trunk/bindings/java/libjvlc.so: undefined symbol: vlc_entry__faad
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:967)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:37)
at org.videolan.jvlc.JVLCCanvas.finit$(JVLCCanvas.java:34)
at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java)
at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:37)
at VLCPlayerFrame.initComponents(VlcClient.java:23)
at VLCPlayerFrame.<init>(VlcClient.java:10)
at VlcClient.main(VlcClient.java:142)
Yes, I'll do it asap.hello littlejohn,
Could you please synchronize your jvlc repository with the vlc-trunk ? the methods from *Intf interfaces don't have the same signatures.
Please post the configure switches you used for vlc.After these modifications, i've got an UnsatisfiedLinkError Exception too, when I try to run VlcClient (latest vlc-svn) :
Code: Select all
/home/harisson/workspace/vlc-trunk/bindings/java/libjvlc.so: undefined symbol: vlc_entry__faad at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647) at java.lang.Runtime.load0(Runtime.java:769) at java.lang.System.load(System.java:967) at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:37) at org.videolan.jvlc.JVLCCanvas.finit$(JVLCCanvas.java:34) at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java) at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:37) at VLCPlayerFrame.initComponents(VlcClient.java:23) at VLCPlayerFrame.<init>(VlcClient.java:10) at VlcClient.main(VlcClient.java:142)
here are my configure switches :
Please post the configure switches you used for vlc.
Cheers,
lj
Code: Select all
configure --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-faad --enable-theora --enable-flac --enable-esd --enable-dvbpsi --enable-dvdread --enable-release --enable-wxwidgets --enable-a52 --enable-dts --enable-libmpeg2 --enable-vorbis --enable-hal --enable-sout --enable-http --enable-vlm --enable-gnutls --enable-livedotcom --enable-dvdnav --enable-smb --enable-libcdio --enable-alsa --enable-visual --enable-libcddb --enable-cdda --enable-vcd --enable-screen --enable-ogg --enable-mkv --enable-mod --enable-mad --enable-speex --enable-png --enable-x264 --enable-cmml --enable-x11 --enable-xvideo --enable-glx --enable-opengl --enable-sdl --enable-freetype --enable-fribidi --enable-libxml2 --enable-fb --enable-oss --enable-daap --enable-skins --enable-skins2 --enable-loader --enable-dmo --enable-v4l --enable-dvb --enable-mozilla --enable-java-bindings
I updated java bindings sources on vlc svn head and then compiled it with your same switches (but --enable-loader since I'm on amd64); compilation was successful. I didn't have any problems running VlcClient either.
Code: Select all
vlc-config --cxxflags pic
vlc-config --libs external pic
Ok sorry for late answer, i saw your update for the delete item function in libvlc, i will retry to recompile it but i get some troubles with faad/faad2 which i suppose (maybe i'm wrong) cause this unsatisfiedLinkError.I updated java bindings sources on vlc svn head and then compiled it with your same switches (but --enable-loader since I'm on amd64); compilation was successful. I didn't have any problems running VlcClient either.
Please try with the latest vlc svn repository and if it doesn't work, post the output of:
Cheers,Code: Select all
vlc-config --cxxflags pic vlc-config --libs external pic
lj
[/code]
Code: Select all
configure --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-faad-tree=extras/faad2 --enable-faad --enable-theora --enable-flac --enable-esd --enable-dvbpsi --enable-dvdread --enable-release --enable-wxwidgets --enable-a52 --enable-dts --enable-libmpeg2 --enable-vorbis --enable-hal --enable-dbus --disable-gnomevfs --disable-hd1000v --disable-hd1000a --disable-daap --disable-bonjour --enable-sout --enable-http --enable-vlm --enable-gnutls --enable-livedotcom --enable-dvdnav --enable-smb --enable-libcdio --enable-alsa --enable-visual --enable-libcddb --enable-cdda --enable-vcd --enable-screen --enable-ogg --enable-mkv --enable-mod --enable-mad --enable-speex --enable-png --with-x264-tree=extras/x264 --enable-x264 --enable-cmml --enable-x11 --enable-xvideo --enable-glx --enable-opengl --enable-sdl --enable-freetype --enable-fribidi --enable-libxml2 --enable-fb --enable-oss --enable-skins --enable-skins2 --enable-loader --enable-dmo --enable-v4l --enable-dvb --enable-mozilla --enable-java-bindings
Great!Hi lj,
I finally success to skip the vlc__entry__faad unsatisfiedLinkException and run jvlc \o/ , below my final configure switches :
....
Now I will try to integrate jvlc in my project , I hope there will be one day a Mac OS X port of jvlc (for win we use the activeX component).
Keep up the good work lj
I think he used the standard makefile, since he configured vlc with --enable-java-bindings . I also tested this with x86. Are you using latest vlc svn version?hello ekladka could you post the makefile????please it would be a great help for me since i'm stack with the make.....another question: you just use make or something else....p.s. I try do it on a Ubuntu system....not using AMD64
Thanks in advance
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 25 guests