/[svn]/web/trunk/www.linuxsampler.org/msys.html
ViewVC logotype

Diff of /web/trunk/www.linuxsampler.org/msys.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1886 by persson, Thu Apr 16 18:34:59 2009 UTC revision 1918 by persson, Sat Jun 13 13:35:13 2009 UTC
# Line 10  Line 10 
10  <body>  <body>
11  <h2 align="center">Windows Build Instructions &nbsp; <img src="gfx/logos/msys.png" alt="msys logo"> &nbsp; HOWTO by Andreas Persson</h2>  <h2 align="center">Windows Build Instructions &nbsp; <img src="gfx/logos/msys.png" alt="msys logo"> &nbsp; HOWTO by Andreas Persson</h2>
12  <br>  <br>
13  <center>April&nbsp;16th,&nbsp;2009</center><br>  <center>June&nbsp;13th,&nbsp;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.&nbsp; Introduction</a><br>  <a href="#intro">1.&nbsp; Introduction</a><br>
16  <a href="#mingw">2.&nbsp; MinGW</a><br>  <a href="#mingw">2.&nbsp; MinGW</a><br>
# Line 22  Line 22 
22  <a href="#perl">8.&nbsp; Perl</a><br>  <a href="#perl">8.&nbsp; Perl</a><br>
23  <a href="#xslt">9.&nbsp; xsltproc</a><br>  <a href="#xslt">9.&nbsp; xsltproc</a><br>
24  <a href="#setup">10.&nbsp; MSYS setup</a><br>  <a href="#setup">10.&nbsp; MSYS setup</a><br>
25  <a href="#sndfile">11.&nbsp; Building libsndfile</a><br>  <a href="#sqlite">11.&nbsp; Building SQLite</a><br>
26  <a href="#gig">12.&nbsp; Building libgig</a><br>  <a href="#sndfile">12.&nbsp; Building libsndfile</a><br>
27  <a href="#ls">13.&nbsp; Building linuxsampler</a><br>  <a href="#gig">13.&nbsp; Building libgig</a><br>
28  <a href="#gigedit">14.&nbsp; Building gigedit</a><br>  <a href="#ls">14.&nbsp; Building linuxsampler</a><br>
29    <a href="#gigedit">15.&nbsp; Building gigedit</a><br>
30  </div>  </div>
31    
32    
# Line 38  the build procedure will be the same as Line 39  the build procedure will be the same as
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>
# Line 66  download just GLib and pkg-config Line 67  download just GLib and pkg-config
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.&nbsp; MSYS</a></h3>  <h3><a name="msys">4.&nbsp; 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>
# Line 128  version 3). Extract it to msys $HOME.</p Line 123  version 3). Extract it to msys $HOME.</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.&nbsp; Perl ***</a></h3>  <h3><a name="perl">8.&nbsp; Perl ***</a></h3>
# Line 198  choose the wrong version:</p> Line 192  choose the wrong version:</p>
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.&nbsp; Building libsndfile</a></h3>  <h3><a name="sqlite">11.&nbsp; 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.&nbsp; 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.&nbsp; Building libgig</a></h3>  <h3><a name="gig">13.&nbsp; 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    
# Line 227  make Line 242  make
242  make install</pre>  make install</pre>
243    
244    
245  <h3><a name="ls">13.&nbsp; Building linuxsampler</a></h3>  <h3><a name="ls">14.&nbsp; 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
# Line 235  make Line 250  make
250  make install</pre>  make install</pre>
251    
252    
253  <h3><a name="gigedit">14.&nbsp; Building gigedit</a></h3>  <h3><a name="gigedit">15.&nbsp; 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

Legend:
Removed from v.1886  
changed lines
  Added in v.1918

  ViewVC Help
Powered by ViewVC