How to install live555 in the MSYS?

来源:互联网 发布:热点wifi软件下载 编辑:程序博客网 时间:2024/05/21 10:56

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 linkagecan 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 generateMakefile?

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 compilingerrors?

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 toinstall the header files and libraries. Because they are large number inside, Iignore 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 FFMPEGUnderstanding(7. How to solve the issue of searching path?), readers canadd these directories into the environment’s variables: C_INCLUDE_PATH andLIBRARY_PATH to be automatically searched by GCC.

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

 

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

 

 

 

原创粉丝点击