[Live-devel] Live555 Compilation for VLC in cygwin

Guy Bonneau gbonneau at matrox.com
Wed Nov 26 14:10:34 PST 2008


I have had to compile VLC media player with a new version of live555 under
cygwin context development. I have to say that even with all the information
on Wikipedia it was quite an headache. I ran through many setup issues with
both VLC player and the live555 library. Even with the Wikipedia
documentation of the VLC team I couldn't have live555 successfully link with
VLC player without having a lot of undefined.
 
It took me a few days and a lot of googling to resolve all the issues. After
looking at what I needed to resolve my linking problems it didn't seem a big
deal. But for a newbie in cygwin development I was bewildered by the setting
needed for successfully compiling the live555 for VLC media player. 
 
While googling I found that a lot of people ran through the same issues I
have had. In some cases people took days to resolve their issues. Problem is
that no posting anywhere give the whole clue about how to solve this
confusing puzzle of compilation setup with live555 library. You have the
find the pieces everywhere around the web.
 
Giving the widespread of VLC and it dependence on live555 library I would
suggest that a config file to compile the live555 for VLC with cygwin be
included with the library. I have included such a template as an attachment.
Here is my setting to successfully compile the live555 for VLC under cygwin.
 
I know this could have been posted to VLC forums. However my feeling is that
people will also look in live555 email archive for a solution.
 
Regards
Guy Bonneau
 
COMPILE_OPTS =    $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t
C =  c
C_COMPILER =  gcc
C_FLAGS =  $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D_WIN32 -mno-cygwin
CPP =   cpp
CPLUSPLUS_COMPILER =  c++
CPLUSPLUS_FLAGS =  $(COMPILE_OPTS) -Wall -DBSD=1 -D_WIN32 -Wno-deprecated
-mno-cygwin
OBJ =   o
LINK =  c++ -o
LINK_OPTS =  -L.
CONSOLE_LINK_OPTS = $(LINK_OPTS)
LIBRARY_LINK =   ld -o
LIBRARY_LINK_OPTS =  $(LINK_OPTS) -r -Bstatic
LIB_SUFFIX =  a
LIBS_FOR_CONSOLE_APPLICATION =
LIBS_FOR_GUI_APPLICATION =
EXE = 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081126/53cf6249/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cygwin-vlc
Type: application/octet-stream
Size: 497 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081126/53cf6249/attachment-0001.obj>


More information about the live-devel mailing list