Table of Contents

New Window Build Environment

Base on:

NOTE: Latest versions doesn't support Windows XP, use 20150916 instead.

Install compiler:

Prepend (depending on which mingw installed):

c:\msys32\mingw32\bin;c:\msys32\usr\bin

or

c:\msys64\mingw64\bin;c:\msys64\usr\bin

to PATH in windows:
Right-click My Computer → Properties → Advanced →Environment Variables.

Install autotools and make:

Install git, pkg-config and wget:

Compile missing packages

Install dependencies from sources…

LibeXpat

NO LONGER NEEDED!

cd /usr/src
wget http://prdownloads.sourceforge.net/expat/expat-2.2.0.tar.bz2
tar xvjf expat-2.2.0.tar.bz2
cd expat-2.2.0/
./configure --prefix=/usr
rm /usr/bin/xmlwf
make install

Libsndfile

cd /usr/src
wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz
tar xvzf libsndfile-1.0.28.tar.gz
cd libsndfile-1.0.28
./configure --prefix=/usr
# Edit src/file_io.c and comment out the line with ''S_ISSOCK'' as it results in an "undefefined reference to" error at link time.
make install

Zita resampler

NO LONGER NEEDED!

cd /usr/src
wget http://www.aasimon.org/public/msys-dist/zr-autotools-1.0.0.tar.gz
tar xvzf zr-autotools-1.0.0.tar.gz

wget http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-1.6.0.tar.bz2
tar xvjf zita-resampler-1.6.0.tar.bz2

cd zr-autotools-1.0.0
./configure --prefix=/usr --with-zita-sources=/usr/src/zita-resampler-1.6.0
make install

(cd /usr/lib; cp libzita-resampler.a libzita-resampler.dll.a)

CppUnit

NO LONGER NEEDED!

cd /usr/src
wget http://dev-www.libreoffice.org/src/cppunit-1.14.0.tar.gz
tar xvzf cppunit-1.14.0.tar.gz
cd cppunit-1.14.0
./configure --prefix=/usr --disable-werror 
make install

Compile DrumGizmo

ZITA_LDFLAGS=-L/usr/lib ZITA_CPPFLAGS=-I/usr/include \
  ./configure --disable-cli --disable-lv2 --enable-vst --with-test

Old:

CPPUNIT_CPPFLAGS=-I/usr/include \
  EXPAT_LDFLAGS=-L/usr/lib EXPAT_CFLAGS=-I/usr/include \
  ZITA_LDFLAGS=-L/usr/lib ZITA_CPPFLAGS=-I/usr/include \
  ./configure --disable-cli --disable-lv2 --disable-vst \
              --enable-resampler=zita --with-test

Use Microsoft C Compiler through AutoTools