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

Aymeric Zils - Voxler aymeric.zils at voxler.fr
Mon Dec 30 18:23:27 CET 2013


test_uint_t.c builds and runs for me on both Visual 2008 and 2010

here's my aubio build log in english if it helps:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aubio.org/pipermail/aubio-user/attachments/20131230/3f34c497/attachment.html>
-------------- next part --------------
C:\Users\voxler\Desktop\aubio-0.4.0>python .\waf configure build -j 1
Setting top to                           : C:\Users\voxler\Desktop\aubio-0.4.0
Setting out to                           : C:\Users\voxler\Desktop\aubio-0.4.0\build
Checking for 'msvc' (c compiler)         : c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\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.677s)
Waf: Entering directory `C:\Users\voxler\Desktop\aubio-0.4.0\build'
[  1/193] c: src\cvec.c -> build\src\cvec.c.1.o
cvec.c
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(91) : warning C4820: 'PreAt
tribute' : '4' bytes padding added after data member 'Access'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(106) : warning C4820: 'PreA
ttribute' : '4' bytes padding added after data member 'NullTerminated'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(122) : warning C4820: 'Post
Attribute' : '4' bytes padding added after data member 'Access'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(201) : warning C4820: 'PreR
angeAttribute' : '4' bytes padding added after data member 'Deref'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(213) : warning C4820: 'Post
RangeAttribute' : '4' bytes padding added after data member 'Deref'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(59) : warning C4820: '_iobuf' : '4' bytes padding ad
ded after data member '_cnt'
c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(39) : warning C4820: '_exception' : '4' bytes padding
 added after data member 'type'
c:\users\voxler\desktop\aubio-0.4.0\src\fvec.h(69) : warning C4820: '<unnamed-tag>' : '4' bytes padding added after data me
mber 'length'
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.h(65) : warning C4820: '<unnamed-tag>' : '4' bytes padding added after data me
mber 'length'
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(28) : error C2275: 'cvec_t' : illegal use of this type as an expression
        c:\users\voxler\desktop\aubio-0.4.0\src\cvec.h(67) : see declaration of 'cvec_t'
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(28) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(29) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(29) : error C2223: left of '->length' must point to struct/union
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(30) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(30) : error C2223: left of '->norm' must point to struct/union
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(30) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(30) : error C2223: left of '->length' must point to struct/union
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(30) : error C2198: 'calloc' : too few arguments for call
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(31) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(31) : error C2223: left of '->phas' must point to struct/union
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(31) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(31) : error C2223: left of '->length' must point to struct/union
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(31) : error C2198: 'calloc' : too few arguments for call
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(32) : error C2065: 's' : undeclared identifier
c:\users\voxler\desktop\aubio-0.4.0\src\cvec.c(32) : warning C4047: 'return' : 'cvec_t *' differs in levels of indirection
from 'int'
cl : Command line warning D9002 : ignoring unknown option '-g'
Waf: Leaving directory `C:\Users\voxler\Desktop\aubio-0.4.0\build'
Build failed
 -> task in 'lib_objects' failed (exit status 2):
        {task 41450160: c cvec.c -> cvec.c.1.o}
['c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\amd64\\CL.exe', '/nologo', '-g', '-Wall', '/IC:\\Users\\v
oxler\\Desktop\\aubio-0.4.0\\build\\src', '/IC:\\Users\\voxler\\Desktop\\aubio-0.4.0\\src', '/Ic:\\Program Files (x86)\\Mic
rosoft Visual Studio 10.0\\VC\\INCLUDE', '/Ic:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\ATLMFC\\INCLUDE', '/
IC:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include', '/DAUBIO_PREFIX="C:\\users\\voxler\\appdata\\local\\tem
p"', '/DPACKAGE="aubio"', '', '..\\src\\cvec.c', '/FC', '/c', '/Fo', 'src\\cvec.c.1.o']


More information about the aubio-user mailing list