======Windows build environment====== * 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): {{:dev:pkg.m4|}} * Install zita-resampler: With mingw-get install the mingw32-pthreads-w32 dev package. 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 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: cd zita-resampler-1.3.0/libs && \ DESTDIR=${LOCALDESTDIR} make && \ DESTDIR=${LOCALDESTDIR} make install * Install sndfile: cd ${LOCALSOURCEDIR} && \ 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 * Install zlib pkg-config file in C:/MinGW/local32/lib/pkgconfig\zlib.pc: 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} * Manually set eXpat paths on configure time: EXPAT_CFLAGS="-I/local32/include" EXPAT_LDFLAGS="-L/local32/lib" ./configure ...