How to build libDTS in the MSYS?

How to build libDTS in the MSYS?

As mentioned in the How to compile and install external libs of FFMPEG? , its source codes can download by CVS of sourceforge.net.

cvs -d:pserver:anonymous@liba52.cvs.sourceforge.net:/cvsroot/liba52 login

cvs -z3 -d:pserver:anonymous@liba52.cvs.sourceforge.net:/cvsroot/liba52 co -P

If readers are forbidden to use CVS, the libdts-0.0.2.tar.gz is available. Of course, it is not a latest version, but it is stable.

 

OK, now we have acquired what we need. What’s the next step?

 

Step 1: Extract it into your appropriate folder.

$ tar xvzf ./libdts-0.0.2.tar.gz

 

Step2: Build and Install it

$ cd ./libdts-0.0.2

$ ./configure --prefix=/mingw --disable-shared --enable-static && make && make install

 

[Summarization]

 

1. Step1 is an essential stage for the libdts-0.0.2.tar.gz . For the CVS’s users, please skip this step.

2. There are some different bugs of GCC tool-chain based on its release version in the MSYS, so I have to install it into /mingw folder. Otherwise, the proper folder should be root for sharing resource in the multi-compilers. The rule is applied in other articles, such as How to compile and install external libs of FFMPEG? , etc. For some good samples to eliminate the bugs of GCC, Part1: Overcome the ‘Access Violation Exception’ in the FFMPEG , Part2: Overcome the ‘Access Violation Exception’ in the FFMPEG and Part3: Overcome the ‘Access Violation Exception’ in the FFMPEG are good on the right foot.

3. Following the point2, different GCC tool-chain had better rebuild all external libraries in the MSYS. You can find the advantages by keeping to this rule.

 

[Reference]

1. How to build the environment of MSYS in the windows?

2. How to compile and install external libs of FFMPEG?

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值