Geeks making the world a bit better.

Building aubio for windows

What I tried, so I can reconstruct it later.

Install cygwin. Change the Devel category from Default to Install in their setup tool.

Download libsndfile, extract, configure, make make install.
Download libsamplerate, extract, configure, make, make install.

Download aubio and extract it.
cd into its folder

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure --disable-shared
make
make install

1 comment so far

#1 sqook on 07.23.08 at 10:36 am

Nice post — this was very helpful for me. I wanted to add some notes from my experiences building this package under winXP:

libsndfile-1.0.17, which is a bit fragile and always a pain to compile, needs some special loving. Namely, you need to make sure that it is uncompressed in a directory *without spaces*, because otherwise make will choke at the last step. Also, I had to build this library without flac support because of a ton of compilation errors in flac.cpp (but really, who uses flac anyways? ;] ). So, in short:

cd /tmp
tar xfvz libsndfile-1.0.17.tar.gz
cd libsndfile-1.0.17
./configure –disable-flac
make
make install

I had to compile FFTW by hand using mingw. There are instructions on the FFTW page here:

http://www.fftw.org/install/windows.html

Synopsis:

./configure –with-our-malloc16 –with-windows-f77-mangling –enable-shared –disable-static –enable-threads –with-combined-threads –enable-portable-binary –enable-sse2
make
make install

libsamplerate built fine out of the box using the standard ./configure ; make ; make install triple combo. After building all of these dependencies, I was able to compile aubio using the above tip, but I had to make sure to uncompress it in /tmp, since there is a similar problem dealing with directories containing spaces.

Leave a Comment