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:[email protected]:/cvsroot/liba52 login cvs -z3 -d:pserver:[email protected]:/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?