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

Emilio Molina Martínez emilio.mol.mar at gmail.com
Mon Dec 30 17:09:06 CET 2013


Ok, I modified aubio_priv.h as indicated. Now the log file (attached .txt)
reduced in 2KB :)...

Thanks,
Emilio.


2013/12/30 Paul Brossier <piem at piem.org>

> On 12/30/2013 11:48 AM, Aymeric Voxler wrote:
> > yes, the same: cvec.c and fmat.c errors
>
> wow, lots of troubles with msvc indeed!
>
> sorry, i have no easy way to test it.
>
> > I guess we're reaching a complicated point there...
>
> not really. i should not use #if without defining the variable, in
> aubio_priv.h, lines 49 and 53. just try replacing it like this for now
> and see if it helps:
>
> diff --git a/src/aubio_priv.h b/src/aubio_priv.h
> index 2fb7792..ea799e4 100644
> --- a/src/aubio_priv.h
> +++ b/src/aubio_priv.h
> @@ -46,11 +46,11 @@
>  #endif
>
>  /* must be included before fftw3.h */
> -#if HAVE_COMPLEX_H
> +#if 0 //HAVE_COMPLEX_H
>  #include <complex.h>
>  #endif
>
> -#if HAVE_FFTW3 || HAVE_FFTW3F
> +#if 0 //HAVE_FFTW3 || HAVE_FFTW3F
>  #include <fftw3.h>
>  #endif
>
> thanks for your feedback,
> Paul
>
>
> >
> >
> > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Aymeric ZILS - Audio
> > Research Phone: (+33)1-75-430-451
> >
> > VOXLER 8 passage Brûlon, bât A, 3ème étage 75012 Paris
> > http://www.voxler.fr <http://www.voxler.fr/> Phone: (+33)1-4704-0041
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > This email may contain confidential and/or privileged information. If
> > you are not the intended recipient (or have received this email in
> > error) please notify the sender immediately and destroy this email.
> > Any unauthorised copying, disclosure or distribution of the material
> > in this email is strictly forbidden.
> >
> >
> > 2013/12/30 Emilio Molina Martínez <emilio.mol.mar at gmail.com
> > <mailto:emilio.mol.mar at gmail.com>>
> >
> > Hi guys,
> >
> > exactly, I had the same error!
> >
> > Now I removed -Wextra flag from line 88... and I got the following
> > errors (reported in spanish in the attached txt file).
> >
> > Aymeric, did you get something similar? :)
> >
> > Thanks, Emilio.
> >
> >
> > 2013/12/30 Paul Brossier <piem at piem.org <mailto:piem at piem.org>>
> >
> > On 12/30/2013 11:22 AM, Aymeric Voxler wrote:
> >> Hi guys, and thanks Paul for helping us
> >
> > Hi Aymeric,
> >
> >> I had exactly the same problem as Emilio, so I'm trying to build
> >> aubio for windows python along with you. Thanks Paul: your last
> >> patch allowed to "configure successfully". Sadly, the build failed
> >>  later for me... (see build_error.txt)
> >
> > ok, so msvc doesn't know about -Wextra.
> >
> > try removing the -Wextra flag from wscript, line 88?
> >
> >>
> >> Let's wait if Emilio has the same issue, as I don't wanna hack his
> >>  post :)
> >
> > It seems he does :)
> >
> > Thanks, Paul
> >
> > _______________________________________________ aubio-user mailing
> > list aubio-user at aubio.org <mailto:aubio-user at aubio.org>
> > https://lists.aubio.org/listinfo/aubio-user
> >
> >
> >
> >
> >
> > _______________________________________________ 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/20131230/1decd80f/attachment-0001.html>
-------------- next part --------------

C:\Users\emilio\Anaconda\InstaladoresPython\aubio-master>python waf distclean co
nfigure build
'distclean' finished successfully (0.058s)
Setting top to                           : C:\Users\emilio\Anaconda\Instaladores
Python\aubio-master
Setting out to                           : C:\Users\emilio\Anaconda\Instaladores
Python\aubio-master\build
Checking for 'msvc' (c compiler)         : c:\Program Files (x86)\Microsoft Visu
al Studio 10.0\VC\BIN\CL.exe
Checking for header stdlib.h             : yes
Checking for header stdio.h              : yes
Checking for header math.h               : yes
Checking for header string.h             : yes
Checking for header limits.h             : yes
Checking for C99 __VA_ARGS__ macro       : yes
Checking for FFT implementation          : ooura
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for program pkg-config          : not found
Checking for all libav libraries         : not found
Checking for program txt2man             : not found
Checking for program doxygen             : not found
'configure' finished successfully (2.893s)
Waf: Entering directory `C:\Users\emilio\Anaconda\InstaladoresPython\aubio-maste
r\build'
[  1/193] c: src\cvec.c -> build\src\cvec.c.1.o
[  2/193] c: src\fmat.c -> build\src\fmat.c.1.o
[  3/193] c: src\fvec.c -> build\src\fvec.c.1.o
[  4/193] c: src\io\audio_unit.c -> build\src\io\audio_unit.c.1.o
fmat.c
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(28) : error
C2275: 'fmat_t' : uso no válido de este tipo como expresión
        c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.h(44)
: vea la declaración de 'fmat_t'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(28) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(29) : error
C2275: 'uint_t' : uso no válido de este tipo como expresión
        c:\users\emilio\anaconda\instaladorespython\aubio-master\src\types.h(60)
 : vea la declaración de 'uint_t'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(29) : error
C2146: error de sintaxis : falta ';' delante del identificador 'i'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(29) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(29) : error
C2065: 'j' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(29) : warnin
g C4548: la expresión antes de la coma no tiene ningún efecto; se esperaba una e
xpresión con efectos secundarios
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(30) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(30) : error
C2223: el operando izquierdo de '->height' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(31) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(31) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(32) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(32) : error
C2223: el operando izquierdo de '->data' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(32) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(32) : error
C2223: el operando izquierdo de '->height' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(32) : error
C2198: 'calloc' : no hay suficientes argumentos para la llamada
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(33) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(33) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(33) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(33) : error
C2223: el operando izquierdo de '->height' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(33) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2223: el operando izquierdo de '->data' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(34) : error
C2198: 'calloc' : no hay suficientes argumentos para la llamada
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(35) : error
C2065: 'j' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(35) : error
C2065: 'j' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(35) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(35) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(35) : error
C2065: 'j' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(36) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(36) : error
C2223: el operando izquierdo de '->data' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(36) : error
C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(36) : error
C2065: 'j' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(39) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(39) : warnin
g C4047: 'return' : 'fmat_t *' es distinto en los niveles de direccionamiento in
directo de 'int'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(140) : error
 C2275: 'uint_t' : uso no válido de este tipo como expresión
        c:\users\emilio\anaconda\instaladorespython\aubio-master\src\types.h(60)
 : vea la declaración de 'uint_t'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(140) : error
 C2146: error de sintaxis : falta ';' delante del identificador 'i'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(140) : error
 C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(140) : warni
ng C4555: la expresión no tiene efecto; se esperaba una expresión con efecto sec
undario
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(141) : error
 C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(141) : error
 C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(141) : warni
ng C4018: '<' : no coinciden signed/unsigned
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(141) : error
 C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(142) : error
 C2065: 'i' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fmat.c(142) : error
 C2065: 'i' : identificador no declarado
cl : Línea de comandos warning D9002 : se omite la opción desconocida '-g'
cvec.c
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(28) : error
C2275: 'cvec_t' : uso no válido de este tipo como expresión
        c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.h(67)
: vea la declaración de 'cvec_t'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(28) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(29) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(29) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(30) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(30) : error
C2223: el operando izquierdo de '->norm' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(30) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(30) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(30) : error
C2198: 'calloc' : no hay suficientes argumentos para la llamada
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(31) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(31) : error
C2223: el operando izquierdo de '->phas' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(31) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(31) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(31) : error
C2198: 'calloc' : no hay suficientes argumentos para la llamada
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(32) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\cvec.c(32) : warnin
g C4047: 'return' : 'cvec_t *' es distinto en los niveles de direccionamiento in
directo de 'int'
cl : Línea de comandos warning D9002 : se omite la opción desconocida '-g'
audio_unit.c
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\io\audio_unit.c(778
) : warning C4206: se ha utilizado una extensión no estándar : la unidad de trad
ucción está vacía
cl : Línea de comandos warning D9002 : se omite la opción desconocida '-g'
fvec.c
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(28) : error
C2275: 'fvec_t' : uso no válido de este tipo como expresión
        c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.h(70)
: vea la declaración de 'fvec_t'
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(28) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(29) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(29) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(30) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(30) : error
C2223: el operando izquierdo de '->data' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(30) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(30) : error
C2223: el operando izquierdo de '->length' debe señalar a struct/union
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(30) : error
C2198: 'calloc' : no hay suficientes argumentos para la llamada
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(31) : error
C2065: 's' : identificador no declarado
c:\users\emilio\anaconda\instaladorespython\aubio-master\src\fvec.c(31) : warnin
g C4047: 'return' : 'fvec_t *' es distinto en los niveles de direccionamiento in
directo de 'int'
cl : Línea de comandos warning D9002 : se omite la opción desconocida '-g'
Waf: Leaving directory `C:\Users\emilio\Anaconda\InstaladoresPython\aubio-master
\build'
Build failed
 -> task in 'lib_objects' failed (exit status 2):
        {task 37564720: c fmat.c -> fmat.c.1.o}
['c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\CL.exe', '/nol
ogo', '-g', '-Wall', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-m
aster\\build\\src', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-ma
ster\\src', '/Ic:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUD
E', '/IC:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include', '/DAUB
IO_PREFIX="C:\\users\\emilio\\appdata\\local\\temp"', '/DPACKAGE="aubio"', '', '
..\\src\\fmat.c', '/FC', '/c', '/Fo', 'src\\fmat.c.1.o']
 -> task in 'lib_objects' failed (exit status 2):
        {task 37564624: c cvec.c -> cvec.c.1.o}
['c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\CL.exe', '/nol
ogo', '-g', '-Wall', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-m
aster\\build\\src', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-ma
ster\\src', '/Ic:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUD
E', '/IC:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include', '/DAUB
IO_PREFIX="C:\\users\\emilio\\appdata\\local\\temp"', '/DPACKAGE="aubio"', '', '
..\\src\\cvec.c', '/FC', '/c', '/Fo', 'src\\cvec.c.1.o']
 -> task in 'lib_objects' failed (exit status 2):
        {task 37564816: c fvec.c -> fvec.c.1.o}
['c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\CL.exe', '/nol
ogo', '-g', '-Wall', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-m
aster\\build\\src', '/IC:\\Users\\emilio\\Anaconda\\InstaladoresPython\\aubio-ma
ster\\src', '/Ic:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUD
E', '/IC:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include', '/DAUB
IO_PREFIX="C:\\users\\emilio\\appdata\\local\\temp"', '/DPACKAGE="aubio"', '', '
..\\src\\fvec.c', '/FC', '/c', '/Fo', 'src\\fvec.c.1.o']

C:\Users\emilio\Anaconda\InstaladoresPython\aubio-master>


More information about the aubio-user mailing list