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>April 16th, 2009</center><br> |
<center>June 13th, 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> |
22 |
<a href="#perl">8. Perl</a><br> |
<a href="#perl">8. Perl</a><br> |
23 |
<a href="#xslt">9. xsltproc</a><br> |
<a href="#xslt">9. xsltproc</a><br> |
24 |
<a href="#setup">10. MSYS setup</a><br> |
<a href="#setup">10. MSYS setup</a><br> |
25 |
<a href="#sndfile">11. Building libsndfile</a><br> |
<a href="#sqlite">11. Building SQLite</a><br> |
26 |
<a href="#gig">12. Building libgig</a><br> |
<a href="#sndfile">12. Building libsndfile</a><br> |
27 |
<a href="#ls">13. Building linuxsampler</a><br> |
<a href="#gig">13. Building libgig</a><br> |
28 |
<a href="#gigedit">14. Building gigedit</a><br> |
<a href="#ls">14. Building linuxsampler</a><br> |
29 |
|
<a href="#gigedit">15. Building gigedit</a><br> |
30 |
</div> |
</div> |
31 |
|
|
32 |
|
|
39 |
./configure ; make ; make install.</p> |
./configure ; make ; make install.</p> |
40 |
|
|
41 |
<p>The versions of the files to download are just the ones I used |
<p>The versions of the files to download are just the ones I used |
42 |
before writing this text. You can probably use later ones if |
before updating this text. You can probably use later ones if |
43 |
available.</p> |
available.</p> |
44 |
|
|
45 |
<p>Some of the instructions below are marked with ** and ***:</p> |
<p>Some of the instructions below are marked with ** and ***:</p> |
67 |
from <a href="http://www.gtk.org">www.gtk.org</a>.)</p> |
from <a href="http://www.gtk.org">www.gtk.org</a>.)</p> |
68 |
|
|
69 |
<p>Download the gtkmm windows installer, |
<p>Download the gtkmm windows installer, |
70 |
gtkmm-win32-devel-2.16.0-2.exe, |
gtkmm-win32-devel-2.16.0-3.exe, |
71 |
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 |
72 |
the installer adjust the PATH variable as it wants.</p> |
the installer adjust the PATH variable as it wants.</p> |
73 |
|
|
74 |
|
|
75 |
<h3><a name="msys">4. MSYS</a></h3> |
<h3><a name="msys">4. MSYS</a></h3> |
76 |
|
|
77 |
<p>I use the 1.0.11 Technology Preview version, as I had problems |
<p>I use the 1.0.11 Release Candiadate version, as I had problems |
78 |
building DLLs with the 1.0.10 current version.</p> |
building DLLs with the 1.0.10 current version.</p> |
79 |
|
|
80 |
<p>Download from "MSYS Base System, Technology Preview: MSYS-1.0.11":</p> |
<p>Download from "MSYS Base System, Release Candidate: MSYS-1.0.11":</p> |
81 |
|
|
82 |
<pre>msysCORE-1.0.11-20080826.tar.gz</pre> |
<pre>MSYS-1.0.11-rc-1.exe</pre> |
83 |
|
|
84 |
<p>Unpack the file to a directory of your choice, for example C:\msys. As |
<p>Run the installer.</p> |
|
1.0.11 doesn't have an installer yet, you need to have an unpacker |
|
|
that supports tar.gz/tar.bz, for example 7-Zip. The rest of the files |
|
|
you can unpack with the tar included in msysCORE.</p> |
|
|
|
|
|
<p>Run the postinstall\pi.bat file and specify your MinGW |
|
|
directory.</p> |
|
85 |
|
|
86 |
<p>Download from "MSYS Supplementary Tools, Technology Preview: Tools for |
<p>Download from "MSYS Supplementary Tools, Technology Preview: Tools for |
87 |
MSYS-1.0.11":</p> |
MSYS-1.0.11":</p> |
123 |
<p>Download intltool_0.40.4-1_win32.zip from |
<p>Download intltool_0.40.4-1_win32.zip from |
124 |
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool">http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool</a></p> |
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool">http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool</a></p> |
125 |
|
|
126 |
<p>Unzip this into the msys local directory, (C:\msys\local for |
<p>Unzip this into the msys local directory (C:\msys\1.0\local)</p> |
|
example)</p> |
|
127 |
|
|
128 |
|
|
129 |
<h3><a name="perl">8. Perl ***</a></h3> |
<h3><a name="perl">8. Perl ***</a></h3> |
192 |
export LDFLAGS="-L/c/Progra~1/gtkmm/lib"</pre> |
export LDFLAGS="-L/c/Progra~1/gtkmm/lib"</pre> |
193 |
|
|
194 |
|
|
195 |
<h3><a name="sndfile">11. Building libsndfile</a></h3> |
<h3><a name="sqlite">11. Building SQLite</a></h3> |
196 |
|
|
197 |
|
<p>The windows precompiled version of SQLite doesn't include the |
198 |
|
neccessary development files, so it's best to build SQLite yourself. |
199 |
|
Download sqlite-amalgamation-3.6.14.2.tar.gz |
200 |
|
from <a href="http://www.sqlite.org">www.sqlite.org</a> |
201 |
|
and extract it to your $HOME:</p> |
202 |
|
|
203 |
|
<pre>cd |
204 |
|
tar xzf sqlite-amalgamation-3.6.14.2.tar.gz</pre> |
205 |
|
|
206 |
|
<p>Build and install:</p> |
207 |
|
|
208 |
|
<pre>cd sqlite-3.6.14.2 |
209 |
|
CFLAGS=-O2 ./configure |
210 |
|
make |
211 |
|
make install</pre> |
212 |
|
|
213 |
|
<p>(Without CFLAGS=-O2, the build will fail. The MinGW compiler has |
214 |
|
some problems with creating the debug info for some reason.)</p> |
215 |
|
|
216 |
|
<h3><a name="sndfile">12. Building libsndfile</a></h3> |
217 |
|
|
218 |
<p>The windows precompiled version of libsndfile doesn't include the |
<p>The windows precompiled version of libsndfile doesn't include the |
219 |
neccessary pkg-config file, so it's best to build libsndfile |
neccessary pkg-config file, so it's best to build libsndfile |
220 |
yourself. Download libsndfile-1.0.19.tar.gz |
yourself. Download libsndfile-1.0.20.tar.gz |
221 |
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 |
222 |
extract it to your $HOME:</p> |
extract it to your $HOME:</p> |
223 |
|
|
224 |
<pre>cd |
<pre>cd |
225 |
tar xzf libsndfile-1.0.19.tar.gz</pre> |
tar xzf libsndfile-1.0.20.tar.gz</pre> |
226 |
|
|
227 |
<p>Build and install:</p> |
<p>Build and install:</p> |
228 |
|
|
229 |
<pre>cd libsndfile-1.0.19 |
<pre>cd libsndfile-1.0.20 |
230 |
./configure |
./configure |
231 |
make |
make |
232 |
make install</pre> |
make install</pre> |
233 |
|
|
234 |
|
|
235 |
<h3><a name="gig">12. Building libgig</a></h3> |
<h3><a name="gig">13. Building libgig</a></h3> |
236 |
|
|
237 |
<p>Just use the same commands as you would in linux:</p> |
<p>Just use the same commands as you would in linux:</p> |
238 |
|
|
242 |
make install</pre> |
make install</pre> |
243 |
|
|
244 |
|
|
245 |
<h3><a name="ls">13. Building linuxsampler</a></h3> |
<h3><a name="ls">14. Building linuxsampler</a></h3> |
246 |
|
|
247 |
<pre>make -f Makefile.cvs (if you build from CVS) |
<pre>make -f Makefile.cvs (if you build from CVS) |
248 |
./configure --enable-asiosdk-dir=$HOME --enable-vstsdk-dir=$HOME/vstsdk2.4 |
./configure --enable-asiosdk-dir=$HOME --enable-vstsdk-dir=$HOME/vstsdk2.4 |
250 |
make install</pre> |
make install</pre> |
251 |
|
|
252 |
|
|
253 |
<h3><a name="gigedit">14. Building gigedit</a></h3> |
<h3><a name="gigedit">15. Building gigedit</a></h3> |
254 |
|
|
255 |
<pre>make -f Makefile.cvs (if you build from CVS) |
<pre>make -f Makefile.cvs (if you build from CVS) |
256 |
./configure |
./configure |