How to install live555 in the MSYS?

本文介绍如何在MSYS环境下安装Live555,包括下载最新版本、解压文件、配置并生成Makefile、解决编译错误及构建过程。提供了解决常见问题的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to install live555 in the MSYS?

 

Where to download?

live555-latest.tar.gz , and it is latest version when article is wrote. The other and lastest linkage can be found in the http://www.filewatcher.com/m/live555-latest.tar.gz.414485.0.0.html

 

How to extract it?

$ tar xvzf ./live555-latest.tar.gz

$ cd ./live

 

How to generate Makefile?

Step1: Eidt ‘./config.mingw’

‘COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int’

||(to)

//

  ‘COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=int’

 

 

Step2: Generate Makefile

$ ./genMakefiles mingw

 

How to fix the compiling errors?

Step1: Edit ‘include/AVIFileSink.hh’

Original source codes

New source codes

82th : unsigned AVIFileSink::addByte

unsigned addByte

 

Step2: Edit ‘include/QuickTimeFileSink.hh’

Original source codes

New source codes

90th : unsigned QuickTimeFileSink::addByte

unsigned addByte

 

How to build it?

$ make

 

[Summarization]

1. The configuration of live555 has not included how to install the header files and libraries. Because they are large number inside, I ignore this step.

2. If readers want to use these libraries, the ‘-I’ and ‘-L’ will be used to tell GCC where to find them. As mentioned in the FFMPEG Understanding(7. How to solve the issue of searching path?) , readers can add these directories into the environment’s variables: C_INCLUDE_PATH and LIBRARY_PATH to be automatically searched by GCC.

3. I think that live555 will add install command in the future. Let’s wait for it:- ).

 

Anyway, for more questions, please visit http://www.live555.com/liveMedia/ .

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值