[vlc-devel] building vlc with java bindings
Gregor Fuis
gujs.lists at gmail.com
Tue Aug 21 21:00:07 CEST 2007
Hello,
I followed this tutorial (
http://www.jbkempf.com/blog/post/2007/05/06/Build-VLC-media-player-under-Ubuntu-Feisty-704
) for building vlc. Except I added
--enable-java-bindings
and exported
export JAVA_HOME=/usr/lib/jvm/java-6-sun
If I build vlc within build subdirectory like advised in tutorial I get
an error listed bellow, but if I compile vlc in vlc-turnk directory, vlc
and java bindings compile fine.
make[3]: Entering directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build/bindings/java'
Making all in .
make[4]: Entering directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build/bindings/java'
gcj -C ../../../bindings/java/org/videolan/jvlc/VLM.java
../../../bindings/java/org/videolan/jvlc/VLM.java:3: error:
Superinterface ‘VLMIntf’ of class ‘org.videolan.jvlc.VLM’ not found.
public class VLM implements VLMIntf {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:38: error: Class
‘VLCException’ not found in ‘throws’.
throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:42: error: Class
‘VLCException’ not found in ‘throws’.
public void deleteMedia(String name) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:46: error: Class
‘VLCException’ not found in ‘throws’.
public void setEnabled(String name, boolean enabled) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:50: error: Class
‘VLCException’ not found in ‘throws’.
public void setOutput(String name, String output) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:54: error: Class
‘VLCException’ not found in ‘throws’.
public void setInput(String name, String input) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:58: error: Class
‘VLCException’ not found in ‘throws’.
public void setLoop(String name, boolean loop) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:64: error: Class
‘VLCException’ not found in ‘throws’.
throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:68: error: Class
‘VLCException’ not found in ‘throws’.
public void playMedia(String name) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:72: error: Class
‘VLCException’ not found in ‘throws’.
public void stopMedia(String name) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:76: error: Class
‘VLCException’ not found in ‘throws’.
public void pauseMedia(String name) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:80: error: Class
‘VLCException’ not found in ‘throws’.
public void seekMedia(String name, float percentage) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:84: error: Class
‘VLCException’ not found in ‘throws’.
public String showMedia(String name) throws VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:88: error: Class
‘VLCException’ not found in ‘throws’.
public float getMediaPosition(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:92: error: Class
‘VLCException’ not found in ‘throws’.
public int getMediaTime(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:96: error: Class
‘VLCException’ not found in ‘throws’.
public int getMediaLength(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:100: error: Class
‘VLCException’ not found in ‘throws’.
public int getMediaRate(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:104: error: Class
‘VLCException’ not found in ‘throws’.
public int getMediaTitle(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:108: error: Class
‘VLCException’ not found in ‘throws’.
public int getMediaChapter(String name, int mediaInstance) throws
VLCException {
^
../../../bindings/java/org/videolan/jvlc/VLM.java:112: error: Class
‘VLCException’ not found in ‘throws’.
public boolean getMediaSeekable(String name, int mediaInstance) throws
VLCException {
^
20 errors
make[4]: *** [org/videolan/jvlc/VLM.class] Error 1
make[4]: Leaving directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build/bindings/java'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build/bindings/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gregor/Home/Videolan/build/vlc-trunk/build'
make: *** [all] Error 2
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list