10 |
<body> |
<body> |
11 |
<h2 align="center">Windows Build Instructions <img src="gfx/logos/msys.png" alt="msys logo"> HOWTO by Andreas Persson</h2> |
<h2 align="center">Windows Build Instructions <img src="gfx/logos/msys.png" alt="msys logo"> HOWTO by Andreas Persson</h2> |
12 |
<br> |
<br> |
13 |
<center>December 20th, 2008</center><br> |
<center>March 11th, 2009</center><br> |
14 |
<div style="background-color: #F4F4FF; margin: 1em 3em 1em 3em; padding: 1em 1em 1em 2.2em;"> |
<div style="background-color: #F4F4FF; margin: 1em 3em 1em 3em; padding: 1em 1em 1em 2.2em;"> |
15 |
<a href="#intro">1. Introduction</a><br> |
<a href="#intro">1. Introduction</a><br> |
16 |
<a href="#mingw">2. MinGW</a><br> |
<a href="#mingw">2. MinGW</a><br> |
52 |
<h3><a name="mingw">2. MinGW</a></h3> |
<h3><a name="mingw">2. MinGW</a></h3> |
53 |
|
|
54 |
<p>Download the MinGW installer, MinGW-5.1.4.exe, |
<p>Download the MinGW installer, MinGW-5.1.4.exe, |
55 |
from <a href="http://www.mingw.org">www.mingw.org</a> and run it.</p> |
from <a href="http://www.mingw.org">www.mingw.org</a> and run it. The |
56 |
|
installer will automatically download and install further |
57 |
|
packages. Choose the base tools and the g++ compiler.</p> |
58 |
|
|
59 |
|
|
60 |
<h3><a name="pkg">3. pkg-config and gtkmm</a></h3> |
<h3><a name="pkg">3. pkg-config and gtkmm</a></h3> |
78 |
|
|
79 |
<p>Download from "MSYS Base System, Technology Preview: MSYS-1.0.11":</p> |
<p>Download from "MSYS Base System, Technology Preview: MSYS-1.0.11":</p> |
80 |
|
|
81 |
<pre>msysCORE-1.0.11-20080826.tar.gz |
<pre>msysCORE-1.0.11-20080826.tar.gz</pre> |
|
bash-3.1-MSYS-1.0.11-1.tar.bz2</pre> |
|
82 |
|
|
83 |
<p>Unpack these to a directory of your choice, for example C:\msys. As |
<p>Unpack the file to a directory of your choice, for example C:\msys. As |
84 |
1.0.11 doesn't have an installer yet, you need to have an unpacker |
1.0.11 doesn't have an installer yet, you need to have an unpacker |
85 |
that supports tar.gz/tar.bz, for example 7-Zip. The rest of the files |
that supports tar.gz/tar.bz, for example 7-Zip. The rest of the files |
86 |
you can unpack with the tar included in msysCORE.</p> |
you can unpack with the tar included in msysCORE.</p> |
88 |
<p>Run the postinstall\pi.bat file and specify your MinGW |
<p>Run the postinstall\pi.bat file and specify your MinGW |
89 |
directory.</p> |
directory.</p> |
90 |
|
|
|
<p>Download, also from "MSYS Base System, Technology Preview: |
|
|
MSYS-1.0.11":</p> |
|
|
|
|
|
<pre>gawk-3.1.5-MSYS-1.0.11-1.tar.bz2 **</pre> |
|
|
|
|
91 |
<p>Download from "MSYS Supplementary Tools, Technology Preview: Tools for |
<p>Download from "MSYS Supplementary Tools, Technology Preview: Tools for |
92 |
MSYS-1.0.11":</p> |
MSYS-1.0.11":</p> |
93 |
|
|
105 |
libtool1.5-1.5.25a-1-bin.tar.bz2 |
libtool1.5-1.5.25a-1-bin.tar.bz2 |
106 |
perl-5.6.1-MSYS-1.0.11-1.tar.bz2 ***</pre> |
perl-5.6.1-MSYS-1.0.11-1.tar.bz2 ***</pre> |
107 |
|
|
|
<p>Download from "MSYS Supplementary Tools, Current Release: |
|
|
msysDTK-1.0.1":</p> |
|
|
|
|
|
<pre>m4-1.4.7-MSYS.tar.bz2 **</pre> |
|
|
|
|
|
|
|
108 |
<p>Extract all these files to the msys directory, by starting msys, do |
<p>Extract all these files to the msys directory, by starting msys, do |
109 |
"cd /" followed by "tar xjf <i>filename</i>" for .tar.bz2 files and |
"cd /" followed by "tar xjf <i>filename</i>" for .tar.bz2 files and |
110 |
"tar xzf <i>filename</i>" for .tar.gz files.</p> |
"tar xzf <i>filename</i>" for .tar.gz files.</p> |
146 |
documentation, so it needs the xsltproc command. Download from |
documentation, so it needs the xsltproc command. Download from |
147 |
<a href="ftp://ftp.zlatkovic.com/pub/libxml/">ftp://ftp.zlatkovic.com/pub/libxml/</a>:</p> |
<a href="ftp://ftp.zlatkovic.com/pub/libxml/">ftp://ftp.zlatkovic.com/pub/libxml/</a>:</p> |
148 |
|
|
149 |
<pre>libxml2-2.7.2+.win32.zip |
<pre>libxml2-2.7.3.win32.zip |
150 |
libxslt-1.1.24.win32.zip</pre> |
libxslt-1.1.24.win32.zip</pre> |
151 |
|
|
152 |
<p>Copy the contents of the bin directories from both zip files to a |
<p>Copy the contents of the bin directories from both zip files to a |
202 |
|
|
203 |
<p>The windows precompiled version of libsndfile doesn't include the |
<p>The windows precompiled version of libsndfile doesn't include the |
204 |
neccessary pkg-config file, so it's best to build libsndfile |
neccessary pkg-config file, so it's best to build libsndfile |
205 |
yourself. Download libsndfile-1.0.17.tar.gz |
yourself. Download libsndfile-1.0.19.tar.gz |
206 |
from <a href="http://www.mega-nerd.com/libsndfile/">www.mega-nerd.com</a> and |
from <a href="http://www.mega-nerd.com/libsndfile/">www.mega-nerd.com</a> and |
207 |
extract it to your $HOME:</p> |
extract it to your $HOME:</p> |
208 |
|
|
209 |
<pre>cd |
<pre>cd |
210 |
tar xzf libsndfile-1.0.17.tar.gz</pre> |
tar xzf libsndfile-1.0.19.tar.gz</pre> |
|
|
|
|
<p>To prevent a compilation error for the test cases, add</p> |
|
|
|
|
|
<pre>#include <stdint.h></pre> |
|
211 |
|
|
212 |
<p>to tests/utils.h.</p> |
<p>Build and install:</p> |
213 |
|
|
214 |
<pre>./configure |
<pre>cd libsndfile-1.0.19 |
215 |
|
./configure |
216 |
make |
make |
217 |
make install</pre> |
make install</pre> |
218 |
|
|