[vlc-devel] Problem using LibVLC
Chad Tindel
ctindel at gmail.com
Mon Oct 8 05:03:03 CEST 2007
Hello-
I am trying to follow the basic instructions up at:
http://wiki.videolan.org/LibVLC_Tutorial_086c
to start writing program using libvlc on linux (RHEL5). Here's how I
configured my build of 0.8.6c:
./bootstrap
./configure --prefix=/usr/local/vlc-0.8.6c --enable-wxwindows --enable-debug
--enable-shared
Note that this does not install a libvlc.so. It only installs a libvlc.a.
If instead I do:
./configure --prefix=/usr/local/vlc-0.8.6c --enable-wxwindows --enable-debug
--enable-shared --enable-shared-libvlc
The build fails. Not sure why.
OK, so I decided to try to go ahead using libvlc.a, which must be why the
regular vlc binary is doing. However, when I write the small sample app and
try to build it using the given commands, it fails because
/usr/local/src/vlc-0.8.6c/.libs is an empty directory. If I try to use the
libs that are in /usr/local/vlc-0.8.6c/lib instead, I get all kinds of
unresolved symbol errors.
So I went one more step, and include every single .so and .a from the
/usr/local/vlc/0.8.6c/lib directory on the build line, and that clears up
some of the errors but not all of them.
Any ideas as to what I'm doing wrong? I've spent several hours doing google
searches but just cannot find anything related to this problem. I'd really
appreciate any help from someone who is able to build and run the sample
program from that wiki page.
Thanks,
Chad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071007/5d8d5abc/attachment.html>
More information about the vlc-devel
mailing list