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 14th, 2008</center><br> |
<center>December 28th, 2008</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> |
66 |
from <a href="http://www.gtk.org">www.gtk.org</a>.)</p> |
from <a href="http://www.gtk.org">www.gtk.org</a>.)</p> |
67 |
|
|
68 |
<p>Download the gtkmm windows installer, |
<p>Download the gtkmm windows installer, |
69 |
gtkmm-win32-runtime-2.14.1-3.exe, |
gtkmm-win32-devel-2.14.3-2.exe, |
70 |
from <a href="http://www.gtkmm.org">www.gtkmm.org</a>, and run it. Let |
from <a href="http://www.gtkmm.org">www.gtkmm.org</a>, and run it. Let |
71 |
the installer adjust the PATH variable as it wants.</p> |
the installer adjust the PATH variable as it wants.</p> |
72 |
|
|
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 |
|
|
|
|
|
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 |
|
|
108 |
<p>Download from "MSYS Supplementary Tools, Current Release: |
<p>Extract all these files to the msys directory, by starting msys, do |
109 |
msysDTK-1.0.1":</p> |
"cd /" followed by "tar xjf <i>filename</i>" for .tar.bz2 files and |
110 |
|
"tar xzf <i>filename</i>" for .tar.gz files.</p> |
|
<pre>m4-1.4.7-MSYS.tar.bz2 **</pre> |
|
|
|
|
|
|
|
|
<p>Extract all these files to the msys directory, by starting msys, |
|
|
do "cd /" and use tar.</p> |
|
111 |
|
|
112 |
|
|
113 |
<h3><a name="asio">5. ASIO SDK</a></h3> |
<h3><a name="asio">5. ASIO SDK</a></h3> |
158 |
|
|
159 |
<h3><a name="setup">10. MSYS setup</a></h3> |
<h3><a name="setup">10. MSYS setup</a></h3> |
160 |
|
|
161 |
<p>Add the gtkmm aclocal directory to the list of extra directories used |
<p>Add the gtkmm aclocal directory to the list of extra directories |
162 |
by autoconf (make sure the gtkmm path is the one where you installed |
used by autoconf. (Make sure the gtkmm path is the one where you |
163 |
it):</p> |
installed it. The space in "Program Files" causes problems, so the |
164 |
|
short file name form is used here):</p> |
165 |
<pre>echo "/c/Program Files/gtkmm/share/aclocal" >> /usr/local/share/aclocal/dirlist</pre> |
|
166 |
|
<pre>echo "/c/Progra~1/gtkmm/share/aclocal" >> /usr/local/share/aclocal/dirlist</pre> |
167 |
|
|
168 |
|
<p>Add the gtkmm bin directory first in your PATH (the installer has |
169 |
|
already added gtkmm to the PATH, but it may have used "Program Files" |
170 |
|
with a space in it, which causes configure to fail):</p> |
171 |
|
|
172 |
|
<pre>export PATH=/c/Progra~1/gtkmm/bin:$PATH</pre> |
173 |
|
|
174 |
<p>Make sure pkg-config will find the LinuxSampler libraries:</p> |
<p>Make sure pkg-config will find the LinuxSampler libraries:</p> |
175 |
|
|
194 |
|
|
195 |
<p>*** The gettext configure tools also need:</p> |
<p>*** The gettext configure tools also need:</p> |
196 |
|
|
197 |
<pre>export CPPFLAGS="-I/c/Program Files/gtkmm/include" |
<pre>export CPPFLAGS="-I/c/Progra~1/gtkmm/include" |
198 |
export LDFLAGS="-L/c/Program Files/gtkmm/lib"</pre> |
export LDFLAGS="-L/c/Progra~1/gtkmm/lib"</pre> |
199 |
|
|
200 |
|
|
201 |
<h3><a name="sndfile">11. Building libsndfile</a></h3> |
<h3><a name="sndfile">11. Building libsndfile</a></h3> |