libjvlc.so not generated from Video Lan vlc-trunk

*nix specific usage questions
jklanka
Blank Cone
Blank Cone
Posts: 13
Joined: 23 May 2007 15:57

libjvlc.so not generated from Video Lan vlc-trunk

Postby jklanka » 23 May 2007 16:14

Hi

I am trying to install and Run JVLCExample file comipiling vlc-trunk

The system is Fedora 6 , Also I have install Eclipse IDE. I need to create a Java application which supports VLC features.


I used svn co svn://svn.videolan.org/vlc/trunk vlc-trunk. Also I have installed the dependencies before compile.Also I setup the JAVA_HOME.

After that within the vlc-trunk folder I have run

>./bootstrap

> ./configure --enable-java-bindings --disable-glx --prefix=/home/vlc/jkvlc

So the vlc-trunk commpiled successfully. And when I run make command I got few lines in the end like below

-----
../../../config.h:985:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from src/os_factory.cpp:28:
src/../x11/x11_factory.hpp:28:22: error: X11/Xlib.h: No such file or directory
src/../x11/x11_factory.hpp:43: error: 'Window' was not declared in this scope
src/../x11/x11_factory.hpp:43: error: template argument 1 is invalid
src/../x11/x11_factory.hpp:43: error: template argument 3 is invalid
src/../x11/x11_factory.hpp:43: error: template argument 4 is invalid
src/../x11/x11_factory.hpp:45: error: 'Window' was not declared in this scope
src/../x11/x11_factory.hpp:45: error: template argument 1 is invalid
src/../x11/x11_factory.hpp:45: error: template argument 3 is invalid
src/../x11/x11_factory.hpp:45: error: template argument 4 is invalid
make[6]: *** [libskins2_plugin_la-os_factory.lo] Error 1
make[6]: Leaving directory `/home/vlc/vlc-trunk/modules/gui/skins2'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/vlc/vlc-trunk/modules/gui/skins2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/vlc/vlc-trunk/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/vlc/vlc-trunk/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc/vlc-trunk'
make: *** [all] Error 2
-----------------

But After that I ran make install. So in the --prefix=/home/vlc/jkvlc folder (Which I set in the ./configure) got following folders

share, include and lib

But in the lib folder I could not find the file called libjvlc.so


I am really confused whether I have compiled the source code correctly or not. Then I have generated the jvlc-eclipse using createEclipseProject.sh.

Now I opened the project with eclipse and tried to run the VLCExample file

But it gives the UnsatisfiedLinkError: libjvlc: libjvlc.so: cannot open shared object file error.

Also I set the Even I set -Djava.library.path=/home/vlc/jkvlc/lib arguments gives the same error.


Please help me to run the Sample from the VLC source.

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 7 guests