Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dev:windows_buildenvironment [2014/07/16 17:12] devadev:windows_buildenvironment [2014/10/31 18:36] deva
Line 2: Line 2:
   * Follow: http://ingar.satgnu.net/devenv/mingw32   * Follow: http://ingar.satgnu.net/devenv/mingw32
  
-  * Add pkg.m4 manually from linux install in /mingw/share/aclocal (as indicated by 'aclocal --print-ac-dir' command)+  * Add pkg.m4 manually from linux install in /mingw/share/aclocal (as indicated by 'aclocal --print-ac-dir' command): {{:dev:pkg.m4|}} 
 + 
 +  * Install zita-resampler: 
 +With mingw-get install the migw32-pthreads-w32 dev package. 
 +<code> 
 +cd ${LOCALSOURCEDIR} && \ 
 +wget -c http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-1.3.0.tar.bz2 && \ 
 +cd ${LOCALBUILDDIR} && \ 
 +tar xjf ${LOCALSOURCEDIR}/zita-resampler-1.3.0.tar.bz2 
 +</code> 
 +WARNING: Ugly hack ahead: At this point, edit the Makefile. Add "/mingw/lib/libpthread.a" to the list of ZITA-RESAMPLER_O = ... 
 +Also, change PREFIX to the empty string. 
 +Now procede with the compilation: 
 +<code> 
 +cd zita-resampler-1.3.0/libs && \ 
 +DESTDIR=${LOCALDESTDIR} make && \ 
 +DESTDIR=${LOCALDESTDIR} make install 
 +</code>
  
   * Install sndfile:   * Install sndfile:
 <code> <code>
 cd ${LOCALSOURCEDIR} && \ cd ${LOCALSOURCEDIR} && \
-wget +wget -c http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz && \ 
 +cd ${LOCALBUILDDIR} && \ 
 +tar xzf ${LOCALSOURCEDIR}/libsndfile-1.0.25.tar.gz && \ 
 +cd libsndfile-1.0.25 && \ 
 +./configure --prefix=${LOCALDESTDIR} --disable-external-libs && \ 
 +make && \ 
 +make install 
 +</code> 
 + 
 +  * Install zlib pkg-config file in C:/MinGW/local32/lib/pkgconfig\zlib.pc: 
 +<code> 
 +prefix=/local32 
 +exec_prefix=${prefix} 
 +libdir=/local32/lib 
 +sharedlibdir=${libdir} 
 +includedir=${prefix}/include 
 + 
 +Name: zlib 
 +Description: zlib compression library 
 +Version: 1.2.8 
 + 
 +Requires: 
 +Libs: -L${libdir} -L${sharedlibdir} -lz 
 +Cflags: -I${includedir} 
 +</code> 
 + 
 +  * Manually set eXpat paths on configure time: 
 +<code> 
 +EXPAT_CFLAGS="-I/local32/include" EXPAT_LDFLAGS="-L/local32/lib" ./configure ...
 </code> </code>
dev/windows_buildenvironment.txt · Last modified: 2014/10/31 18:37 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0