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

Emilio Molina Martínez emilio.mol.mar at gmail.com
Tue Dec 31 15:39:23 CET 2013


Hi,

I have the same problem as Aymeric, it doesn't compile yet. Yesterday, I
tried again to select mingw as default compiler, but I was not able to do
it... If you get it, Aymeric, please let me know :)

Thanks,
Emilio.


2013/12/31 Aymeric Zils - Voxler <aymeric.zils at voxler.fr>

> Hi
> Thanks for the update Paul
>
> I got your last dev version, but it did not build better with msvc - even
> after adding yesterday's improvements (f.i. I still had to remove the
> -Wextra tag in wscript - line 88)
> I did not try with mingw yet.
>
> Now I'm getting to build more and more files by modifying the .c files and
> declaring all local variables at the beginning of code blocks
>
> I keep you informed of any success.
>
> Best
>
>
>
> 2013/12/31 Paul Brossier <piem at piem.org>
>
>>
>> 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
>>
>>
>> _______________________________________________
>> aubio-user mailing list
>> aubio-user at aubio.org
>> https://lists.aubio.org/listinfo/aubio-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aubio.org/pipermail/aubio-user/attachments/20131231/f8a006d0/attachment.html>


More information about the aubio-user mailing list