[aubio-user] Using aubio 0.4.0 from python (windows)

Paul Brossier piem at piem.org
Tue Dec 31 00:55:28 CET 2013


On 12/30/2013 02:57 PM, Emilio Molina Martínez wrote:
> 
> Thanks to you! I downloaded mingw, but now... how can I choose mingw
> compiler with waf? It seems that msvc is set by default.

mmh. I'm not sure really, you need to setup your environment so that CC
point to mingw's gcc.

I just pushed quite a few changes to the develop branch, trying to get
aubio to build with theses gcc flags:

-Wall -Wextra -Wstrict-prototypes -Wold-style-definition
-Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Werror

see http://stackoverflow.com/a/3099874

I didn't change the tests to pass with -Wdeclarartion-after-statement
yet, nor source_avcodec.c. I'm not sure yet, I find it really impairs
the readability of the code, and makes copy-pasting from tests and
examples cumbersome.

but examples/ and src/ build with the above flags now.

please let me know if it works any better with msvc!

Best, Paul




More information about the aubio-user mailing list