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
dev:windows_buildenvironment [2014/07/16 17:14] devadev:windows_buildenvironment [2014/10/31 18:37] (current) 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 mingw32-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:
Line 11: Line 28:
 tar xzf ${LOCALSOURCEDIR}/libsndfile-1.0.25.tar.gz && \ tar xzf ${LOCALSOURCEDIR}/libsndfile-1.0.25.tar.gz && \
 cd libsndfile-1.0.25 && \ cd libsndfile-1.0.25 && \
-./configure --prefix=${LOCALDESTDIR} && \+./configure --prefix=${LOCALDESTDIR} --disable-external-libs && \
 make && \ make && \
 make install 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.1405523682.txt.gz · Last modified: 2014/07/16 17:14 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0