build vlc-2.2 with own live555
Posted: 18 Aug 2016 14:24
Hey,
I would like to build a minimal vlc to just play a h264 RTP stream. I'm using vlc-2.2 from git (4f12d2a2fd664c63da5cbd60f264167521a926d3). I configure with pretty much everything disabled. I enabled:
When installing these dependencies from my distribution (kubuntu 16.04) everything works as expected.
My next step is to use my own version of live555. I built live555 with
To point vlc to use my own version I called configure with: .
When I run ./configure it says that live555 is not present:
I think I figured out why. configure.ac, line 1612:
But the file UsageEnvironment.hh is located in another subfolder UsageEnvironment:
When I change this, the output of ./configure is:
I'm not sure if this is OK? Anyway, my application won't play the stream.
There are two questions:
1 Is this a bug in configure.ac?
2 What do I need to do to successfully build libvlc with my own copy of live555 library?
Kind Regards,
Simon
I would like to build a minimal vlc to just play a h264 RTP stream. I'm using vlc-2.2 from git (4f12d2a2fd664c63da5cbd60f264167521a926d3). I configure with pretty much everything disabled. I enabled:
Code: Select all
--enable-live555
--enable-avcodec
--enable-swscale
--enable-xcb
My next step is to use my own version of live555. I built live555 with
Code: Select all
./genMakefiles linux
make
DESTDIR="/home/devel/live555/install" make install
Code: Select all
--with-contrib=/home/devel/live555/install/usr/local
When I run ./configure it says that live555 is not present:
Code: Select all
checking for LIVE555... no
configure: WARNING: No package 'live555' found.
checking for live555 version 1324598400 or later... no
configure: WARNING: live555 is missing or its installed version is too old:
Version 2011.12.23 or later is required to proceed.
You can get an updated one from http://www.live555.com/liveMedia .
configure: error: Update live555 or pass --disable-live555 to disable RTSP input support.
Code: Select all
AS_IF([test -f "${CONTRIB_DIR}/include/UsageEnvironment.hh"], [
Code: Select all
${CONTRIB_DIR}/include/UsageEnvironment/UsageEnvironment.hh
Code: Select all
checking for LIVE555... no
configure: WARNING: No package 'live555' found.
checking for live555 version 1324598400 or later... yes
checking for main in -lliveMedia_pic... no
checking for main in -lliveMedia... yes
There are two questions:
1 Is this a bug in configure.ac?
2 What do I need to do to successfully build libvlc with my own copy of live555 library?
Kind Regards,
Simon