This is an old revision of the document!


New Window Build Environment

Base on:

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

Install compiler:

  • For 32-bit: pacman -S mingw-w64-i686-gcc
  • For 64-bit: pacman -S mingw-w64-x86_64-gcc

Add /mingw32/bin to PATH in /etc/bash.bashrc:

export PATH=/mingw32/bin:$PATH

Install autotools and make:

  • pacman -S automake autoconf libtool make

Install git, pkg-config and wget:

  • pacman -S git pkgconfig wget

Compile missing packages

Install dependencies from sources…

LibeXpat

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
(cd src; make install)

Zita resampler

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

CppUnit

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

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

dev/new_windows_build_environment.1494027542.txt.gz · Last modified: 2017/05/06 01:39 by deva
Trace: new_windows_build_environment
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0