/[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 1807 by persson, Sun Dec 14 13:55:43 2008 UTC revision 1886 by persson, Thu Apr 16 18:34:59 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>December&nbsp;14th,&nbsp;2008</center><br>  <center>April&nbsp;16th,&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 52  available.</p> Line 52  available.</p>
52  <h3><a name="mingw">2.&nbsp; MinGW</a></h3>  <h3><a name="mingw">2.&nbsp; 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.&nbsp; pkg-config and gtkmm</a></h3>  <h3><a name="pkg">3.&nbsp; pkg-config and gtkmm</a></h3>
# Line 64  download just GLib and pkg-config Line 66  download just GLib and pkg-config
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.16.0-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    
# Line 76  building DLLs with the 1.0.10 current ve Line 78  building DLLs with the 1.0.10 current ve
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>
# Line 87  you can unpack with the tar included in Line 88  you can unpack with the tar included in
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    
# Line 105  libiconv-1.11-1-dll.tar.bz2 *** Line 105  libiconv-1.11-1-dll.tar.bz2 ***
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.&nbsp; ASIO SDK</a></h3>  <h3><a name="asio">5.&nbsp; ASIO SDK</a></h3>
# Line 151  install it.</p> Line 146  install it.</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
# Line 163  for example:</p> Line 158  for example:</p>
158    
159  <h3><a name="setup">10.&nbsp; MSYS setup</a></h3>  <h3><a name="setup">10.&nbsp; 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    
# Line 193  choose the wrong version:</p> Line 194  choose the wrong version:</p>
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.&nbsp; Building libsndfile</a></h3>  <h3><a name="sndfile">11.&nbsp; Building libsndfile</a></h3>
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 &lt;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    

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

  ViewVC Help
Powered by ViewVC