[vlc-devel] compile vlc-trunk with jvlc

Tony Anecito adanecito at yahoo.com
Wed Jul 4 15:51:06 CEST 2007


Hi Gregor,
   
  I was getting errors also but from you output like mine it did not create the jvlc.dll so you will not be able use jvlc yet. I just saw a commit from LittleJohn who works on jvlc so hopefully it is fixed.
   
  Regards,
  -Tony

Gregor Fuis <gujs.lists at gmail.com> wrote:
  Hello,

I have a problem compiling vlc-trunk with java binding. I compile it a 
long time ago just for curiosity.
But now I would like to test binding and use them if possible.

My error log:

make[4]: Entering directory 
`/home/iptv/VideoLAN/vlc-trunk/bindings/java/src'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. `top_builddir="../../.." ../../../vlc-config 
--cflags pic` -I/usr/lib/jvm/java-1.5.0-sun/include 
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -DSYS_LINUX 
-I../../../include -MT libjvlc_la-audio-jni.lo -MD -MP -MF 
".deps/libjvlc_la-audio-jni.Tpo" -c -o libjvlc_la-audio-jni.lo `test -f 
'audio-jni.cc' || echo './'`audio-jni.cc; \
then mv -f ".deps/libjvlc_la-audio-jni.Tpo" 
".deps/libjvlc_la-audio-jni.Plo"; else rm -f 
".deps/libjvlc_la-audio-jni.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/java-iptv/vlc/include 
-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT 
-D_THREAD_SAFE -DLOCALEDIR=\"/java-iptv/vlc/share/locale\" 
-DDATA_PATH=\"/java-iptv/vlc/share/vlc\" 
-DPLUGIN_PATH=\"/java-iptv/vlc/lib/vlc\" -DHAVE_RELEASE -O3 -ffast-math 
-funroll-loops -mtune=pentium2 -fomit-frame-pointer 
-I/usr/lib/jvm/java-1.5.0-sun/include 
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -DSYS_LINUX 
-I../../../include -MT libjvlc_la-audio-jni.lo -MD -MP -MF 
.deps/libjvlc_la-audio-jni.Tpo -c audio-jni.cc -fPIC -DPIC -o 
.libs/libjvlc_la-audio-jni.o
audio-jni.cc: In function 'jint 
Java_org_videolan_jvlc_Audio__1getTrack(JNIEnv*, _jobject*)':
audio-jni.cc:39: error: 'libvlc_media_instance_t' was not declared in 
this scope
audio-jni.cc:39: error: 'input' was not declared in this scope
audio-jni.cc:39: error: 'libvlc_playlist_get_media_instance' was not 
declared in this scope
audio-jni.cc: In function 'void 
Java_org_videolan_jvlc_Audio__1setTrack(JNIEnv*, _jobject*, jint)':
audio-jni.cc:53: error: 'libvlc_media_instance_t' was not declared in 
this scope
audio-jni.cc:53: error: 'input' was not declared in this scope
audio-jni.cc:53: error: 'libvlc_playlist_get_media_instance' was not 
declared in this scope
make[4]: *** [libjvlc_la-audio-jni.lo] Error 1
make[4]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/bindings/java/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/bindings/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk'
make: *** [all] Error 2


Thanks for help!
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070704/68d7d934/attachment.html>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list