This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dev:windows_buildenvironment [2014/07/16 17:11] – created deva | dev:windows_buildenvironment [2014/10/31 18:37] (current) – deva | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Windows build environment====== | ======Windows build environment====== | ||
| * Follow: http:// | * Follow: http:// | ||
| - | | + | |
| + | | ||
| + | |||
| + | * Install zita-resampler: | ||
| + | With mingw-get install the mingw32-pthreads-w32 dev package. | ||
| + | < | ||
| + | cd ${LOCALSOURCEDIR} && \ | ||
| + | wget -c http:// | ||
| + | cd ${LOCALBUILDDIR} && \ | ||
| + | tar xjf ${LOCALSOURCEDIR}/ | ||
| + | </ | ||
| + | WARNING: Ugly hack ahead: At this point, edit the Makefile. Add "/ | ||
| + | Also, change PREFIX to the empty string. | ||
| + | Now procede with the compilation: | ||
| + | < | ||
| + | cd zita-resampler-1.3.0/ | ||
| + | DESTDIR=${LOCALDESTDIR} make && \ | ||
| + | DESTDIR=${LOCALDESTDIR} make install | ||
| + | </ | ||
| + | |||
| + | * Install sndfile: | ||
| + | < | ||
| + | cd ${LOCALSOURCEDIR} && \ | ||
| + | wget -c http:// | ||
| + | cd ${LOCALBUILDDIR} && \ | ||
| + | tar xzf ${LOCALSOURCEDIR}/ | ||
| + | cd libsndfile-1.0.25 && \ | ||
| + | ./configure --prefix=${LOCALDESTDIR} --disable-external-libs && \ | ||
| + | make && \ | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | * Install zlib pkg-config file in C:/ | ||
| + | < | ||
| + | prefix=/ | ||
| + | exec_prefix=${prefix} | ||
| + | libdir=/ | ||
| + | sharedlibdir=${libdir} | ||
| + | includedir=${prefix}/ | ||
| + | |||
| + | Name: zlib | ||
| + | Description: | ||
| + | Version: 1.2.8 | ||
| + | |||
| + | Requires: | ||
| + | Libs: -L${libdir} -L${sharedlibdir} -lz | ||
| + | Cflags: -I${includedir} | ||
| + | </ | ||
| + | |||
| + | * Manually set eXpat paths on configure time: | ||
| + | < | ||
| + | EXPAT_CFLAGS=" | ||
| + | </ | ||