Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on windows #285

Open
Baklap4 opened this issue Mar 22, 2020 · 9 comments
Open

Building on windows #285

Baklap4 opened this issue Mar 22, 2020 · 9 comments

Comments

@Baklap4
Copy link

Baklap4 commented Mar 22, 2020

Heey i'm having issues trying to build this library on windows using the given commands
python waf configure build

It seems to not find:

Setting top to : C:\Users\aspeiard\Desktop\Persoonlijk\performous-win\3rdparty\aubio
Setting out to: C:\Users\aspeiard\Desktop\Persoonlijk\performous-win\3rdparty\aubio\build
Checking for 'msvc' (C compiler) : C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\CL.exe
Checking for header stdlib.h             : not found
The configuration failed (complete log in C:\Users\aspeiard\Desktop\Persoonlijk\performous-win\3rdparty\aubio\build\config.log) 

complete logfile:
config.log

I ran this command within command prompt
I've got visual studio 2019 installed
Python 3.8.2 is installed and configured in path.

We're trying to use this within a crossplatform project (https://github.com/performous/performous) the only environment left is windows.. (the others being osx and linux)

@M4d40
Copy link

M4d40 commented Apr 15, 2020

Try the 0.4.7 Version
I don't know why but this version worked on my (win 10 + pycharm env) without any problems.
(The newer ones didn't)
Seems as they broke something on win with 0.4.8+

@Baklap4
Copy link
Author

Baklap4 commented Apr 15, 2020

It seems to build alright with 0.4.7; however it couldn't find some few libraries (which were installed using vcpkg)...

C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio>waf.bat configure build
Using python
Setting top to                           : C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio
Setting out to                           : C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\build
Checking for 'msvc' (C compiler)         : C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\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 header stdarg.h             : yes
Checking for header getopt.h             : not found
Checking for header unistd.h             : not found
Checking for library m                   : not found
Checking for C99 __VA_ARGS__ macro       : yes
Checking for size of smpl_t              : float
Checking for size of lsmp_t              : double
Checking if complex.h is enabled         : no
Checking for FFT implementation          : ooura
Checking for program 'pkg-config'        : C:\MinGW\bin\pkg-config.exe
Checking for 'sndfile'                   : not found
Checking for 'samplerate'                : not found
Checking for 'jack'                      : not found
Checking for 'libavcodec'                : not found
Checking for 'libavformat'               : not found
Checking for 'libavutil'                 : not found
Checking for 'libswresample'             : not found
Checking for 'libavresample'             : not found
Checking for all libav libraries         : not found (missing avcodec)
Checking if using source_wavread         : yes
Checking if using sink_wavwrite          : yes
Checking for program 'txt2man'           : not found
Checking for program 'doxygen'           : not found
Checking for program 'sphinx-build'      : not found
'configure' finished successfully (15.184s)
Waf: Entering directory `C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\build'
[  1/236] Compiling src\spectral\dct_accelerate.c
[  2/236] Compiling src\io\utils_apple_audio.c
[  3/236] Compiling src\io\sink_apple_audio.c
[  4/236] Compiling src\fvec.c
[  5/236] Compiling src\cvec.c
[  6/236] Compiling src\spectral\dct.c
[  7/236] Compiling src\vecutils.c
[  8/236] Compiling src\spectral\awhitening.c
dct_accelerate.c

[  9/236] Compiling src\io\source_wavread.c
sink_apple_audio.c

utils_apple_audio.c

cvec.c

dct.c

fvec.c

vecutils.c

awhitening.c

source_wavread.c

[ 10/236] Compiling src\utils\windll.c
[ 11/236] Compiling src\utils\scale.c
[ 12/236] Compiling src\pitch\pitchyinfft.c
[ 13/236] Compiling src\utils\parameter.c
[ 14/236] Compiling src\utils\log.c
[ 15/236] Compiling src\pitch\pitchyinfast.c
[ 16/236] Compiling src\io\source_sndfile.c
[ 17/236] Compiling src\io\sink.c
parameter.c

[ 18/236] Compiling src\utils\hist.c
log.c

scale.c

[ 19/236] Compiling src\temporal\resampler.c
[ 20/236] Compiling src\pitch\pitchyin.c
pitchyinfft.c

[ 21/236] Compiling src\temporal\c_weighting.c
source_sndfile.c

[ 22/236] Compiling src\io\source_avcodec.c
resampler.c

sink.c

[ 23/236] Compiling src\temporal\biquad.c
[ 24/236] Compiling src\temporal\filter.c
source_avcodec.c

hist.c

pitchyin.c

[ 25/236] Compiling src\temporal\a_weighting.c
c_weighting.c

[ 26/236] Compiling src\pitch\pitchmcomb.c
pitchyinfast.c

[ 27/236] Compiling src\synth\wavetable.c
[ 28/236] Compiling src\synth\sampler.c
[ 29/236] Compiling src\pitch\pitchfcomb.c
biquad.c

[ 30/236] Compiling src\fmat.c
windll.c

[ 31/236] Compiling src\io\ioutils.c
a_weighting.c

[ 32/236] Compiling src\spectral\tss.c
wavetable.c

[ 33/236] Compiling src\spectral\statistics.c
sampler.c

[ 34/236] Compiling src\spectral\phasevoc.c
filter.c

[ 35/236] Compiling src\spectral\specdesc.c
pitchmcomb.c

[ 36/236] Compiling src\onset\peakpicker.c
pitchfcomb.c

ioutils.c

fmat.c

[ 37/236] Compiling src\spectral\mfcc.c
[ 38/236] Compiling src\io\sink_wavwrite.c
[ 39/236] Compiling src\onset\onset.c
tss.c

[ 40/236] Compiling src\notes\notes.c
statistics.c

[ 41/236] Compiling src\spectral\dct_plain.c
phasevoc.c

[ 42/236] Compiling src\spectral\dct_ipp.c
specdesc.c

peakpicker.c

[ 43/236] Compiling src\spectral\dct_ooura.c
[ 44/236] Compiling src\io\sink_sndfile.c
mfcc.c

onset.c

sink_wavwrite.c

[ 45/236] Compiling src\spectral\dct_fftw.c
notes.c

[ 46/236] Compiling src\spectral\filterbank.c
[ 47/236] Compiling src\tempo\beattracking.c
[ 48/236] Compiling src\spectral\filterbank_mel.c
dct_plain.c

[ 49/236] Compiling src\io\audio_unit.c
dct_ipp.c

[ 50/236] Compiling src\pitch\pitchspecacf.c
dct_ooura.c

[ 51/236] Compiling src\tempo\tempo.c
sink_sndfile.c

[ 52/236] Compiling src\spectral\ooura_fft8g.c
dct_fftw.c

[ 53/236] Compiling src\io\source.c
filterbank.c

[ 54/236] Compiling src\pitch\pitchschmitt.c
audio_unit.c

[ 55/236] Compiling src\pitch\pitch.c
pitchspecacf.c

[ 56/236] Compiling src\lvec.c
beattracking.c

[ 57/236] Compiling src\io\source_apple_audio.c
tempo.c

filterbank_mel.c

[ 58/236] Compiling src\mathutils.c
source.c

[ 59/236] Compiling src\spectral\fft.c
[ 60/236] Compiling examples\jackio.c
pitchschmitt.c

[ 61/236] Compiling examples\utils.c
pitch.c

[ 62/236] Compiling tests\src\io\test-sink-multi.c
lvec.c

[ 63/236] Compiling tests\src\io\test-sink.c
source_apple_audio.c

jackio.c

[ 64/236] Compiling tests\src\io\test-sink_apple_audio-multi.c
[ 65/236] Compiling tests\src\io\test-sink_apple_audio.c
fft.c

ooura_fft8g.c

[ 66/236] Compiling tests\src\io\test-sink_sndfile-multi.c
[ 67/236] Compiling tests\src\io\test-sink_sndfile.c
mathutils.c

[ 68/236] Compiling tests\src\io\test-sink_wavwrite-multi.c
test-sink-multi.c

utils.c

[ 69/236] Compiling tests\src\io\test-sink_wavwrite.c
[ 70/236] Compiling tests\src\io\test-source.c
test-sink.c

[ 71/236] Compiling tests\src\io\test-source_apple_audio.c
test-sink_apple_audio-multi.c

[ 72/236] Compiling tests\src\io\test-source_avcodec.c
test-sink_apple_audio.c

test-sink_sndfile-multi.c

[ 73/236] Compiling tests\src\io\test-source_multi.c
[ 74/236] Compiling tests\src\io\test-source_seek.c
test-sink_sndfile.c

[ 75/236] Compiling tests\src\io\test-source_sndfile.c
test-sink_wavwrite-multi.c

test-sink_wavwrite.c

[ 76/236] Compiling tests\src\io\test-source_wavread.c
test-source.c

[ 77/236] Compiling tests\src\onset\test-onset.c
test-source_apple_audio.c

[ 78/236] Compiling tests\src\onset\test-peakpicker.c
[ 79/236] Compiling tests\src\pitch\test-pitch.c
test-source_avcodec.c

[ 80/236] Compiling tests\src\pitch\test-pitchfcomb.c
test-source_seek.c

test-source_multi.c

[ 81/236] Compiling tests\src\pitch\test-pitchmcomb.c
test-pitch.c

[ 82/236] Compiling tests\src\pitch\test-pitchschmitt.c
[ 83/236] Compiling tests\src\pitch\test-pitchspecacf.c
test-peakpicker.c

[ 84/236] Compiling tests\src\pitch\test-pitchyin.c
test-source_sndfile.c

[ 85/236] Compiling tests\src\pitch\test-pitchyinfft.c
test-source_wavread.c

[ 86/236] Compiling tests\src\spectral\test-awhitening.c
test-onset.c

[ 87/236] Compiling tests\src\spectral\test-dct.c
test-pitchfcomb.c

test-pitchschmitt.c

[ 88/236] Compiling tests\src\spectral\test-fft.c
[ 89/236] Compiling tests\src\spectral\test-filterbank.c
test-pitchmcomb.c

[ 90/236] Compiling tests\src\spectral\test-filterbank_mel.c
test-pitchyin.c

[ 91/236] Compiling tests\src\spectral\test-mfcc.c
test-pitchspecacf.c

[ 92/236] Compiling tests\src\spectral\test-phasevoc.c
test-pitchyinfft.c

[ 93/236] Compiling tests\src\spectral\test-specdesc.c
test-fft.c

[ 94/236] Compiling tests\src\spectral\test-tss.c
test-dct.c

[ 95/236] Compiling tests\src\synth\test-sampler.c
test-mfcc.c

[ 96/236] Compiling tests\src\synth\test-wavetable.c
test-filterbank.c

test-phasevoc.c

[ 97/236] Compiling tests\src\tempo\test-beattracking.c
test-filterbank_mel.c

test-awhitening.c

test-specdesc.c

test-tss.c

[ 98/236] Compiling tests\src\tempo\test-tempo.c
[ 99/236] Compiling tests\src\temporal\test-a_weighting.c
[100/236] Compiling tests\src\temporal\test-biquad.c
test-sampler.c

test-wavetable.c

test-a_weighting.c

test-biquad.c

test-beattracking.c

test-tempo.c

[101/236] Linking build\src\aubio.lib
[102/236] Linking build\src\libaubio-5.dll
[103/236] Compiling tests\src\temporal\test-c_weighting.c
[104/236] Compiling tests\src\temporal\test-filter.c
[105/236] Compiling tests\src\temporal\test-resampler.c
[106/236] Compiling tests\src\test-cvec.c
[107/236] Compiling tests\src\test-delnull.c
[108/236] Compiling tests\src\test-fmat.c
[109/236] Compiling tests\src\test-fvec.c
test-filter.c

[110/236] Compiling tests\src\test-lvec.c
test-c_weighting.c

[111/236] Compiling tests\src\test-mathutils-window.c
test-delnull.c

[112/236] Compiling tests\src\test-mathutils.c
test-resampler.c

[113/236] Compiling tests\src\utils\test-hist.c
test-cvec.c

test-fmat.c

[114/236] Compiling tests\src\utils\test-log.c
[115/236] Compiling tests\src\utils\test-parameter.c
test-lvec.c

[116/236] Compiling tests\src\utils\test-scale.c
test-hist.c

test-fvec.c

test-mathutils-window.c

[117/236] Compiling examples\aubiomfcc.c
[118/236] Compiling examples\aubionotes.c
[119/236] Compiling examples\aubioonset.c
[120/236] Compiling examples\aubiopitch.c
test-mathutils.c

[121/236] Compiling examples\aubioquiet.c
test-log.c

test-parameter.c

test-scale.c

[122/236] Linking build\tests\test-sink-multi.exe
[123/236] Linking build\tests\test-sink.exe
[124/236] Linking build\tests\test-sink_apple_audio-multi.exe
aubioonset.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubioonset.c(33): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubioonset.c(33): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[125/236] Linking build\tests\test-sink_apple_audio.exe
aubiomfcc.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiomfcc.c(32): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiomfcc.c(32): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[126/236] Linking build\tests\test-sink_sndfile-multi.exe
aubionotes.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubionotes.c(32): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubionotes.c(32): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[127/236] Linking build\tests\test-sink_sndfile.exe
aubiopitch.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiopitch.c(32): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiopitch.c(32): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[128/236] Linking build\tests\test-sink_wavwrite-multi.exe
aubioquiet.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubioquiet.c(27): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubioquiet.c(27): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[129/236] Linking build\tests\test-sink_wavwrite.exe
[130/236] Linking build\tests\test-source.exe
[131/236] Linking build\tests\test-source_apple_audio.exe
[132/236] Linking build\tests\test-source_avcodec.exe
[133/236] Linking build\tests\test-source_multi.exe
[134/236] Linking build\tests\test-source_seek.exe
[135/236] Linking build\tests\test-source_sndfile.exe
[136/236] Linking build\tests\test-source_wavread.exe
[137/236] Linking build\tests\test-onset.exe
[138/236] Linking build\tests\test-peakpicker.exe
[139/236] Linking build\tests\test-pitch.exe
[140/236] Linking build\tests\test-pitchfcomb.exe
[141/236] Linking build\tests\test-pitchmcomb.exe
[142/236] Linking build\tests\test-pitchschmitt.exe
[143/236] Linking build\tests\test-pitchspecacf.exe
[144/236] Linking build\tests\test-pitchyin.exe
[145/236] Linking build\tests\test-pitchyinfft.exe
[146/236] Linking build\tests\test-awhitening.exe
[147/236] Linking build\tests\test-dct.exe
[148/236] Linking build\tests\test-fft.exe
[149/236] Linking build\tests\test-filterbank.exe
[150/236] Linking build\tests\test-filterbank_mel.exe
[151/236] Linking build\tests\test-mfcc.exe
[152/236] Linking build\tests\test-phasevoc.exe
[153/236] Linking build\tests\test-specdesc.exe
[154/236] Linking build\tests\test-tss.exe
[155/236] Linking build\tests\test-sampler.exe
[156/236] Linking build\tests\test-wavetable.exe
[157/236] Linking build\tests\test-beattracking.exe
[158/236] Linking build\tests\test-tempo.exe
[159/236] Linking build\tests\test-a_weighting.exe
[160/236] Linking build\tests\test-biquad.exe
[161/236] Linking build\tests\test-c_weighting.exe
[162/236] Linking build\tests\test-filter.exe
[163/236] Linking build\tests\test-resampler.exe
[164/236] Linking build\tests\test-cvec.exe
[165/236] Linking build\tests\test-delnull.exe
[166/236] Linking build\tests\test-fmat.exe
[167/236] Linking build\tests\test-fvec.exe
[168/236] Linking build\tests\test-lvec.exe
[169/236] Linking build\tests\test-mathutils-window.exe
[170/236] Linking build\tests\test-mathutils.exe
[171/236] Linking build\tests\test-hist.exe
[172/236] Linking build\tests\test-log.exe
[173/236] Linking build\tests\test-parameter.exe
[174/236] Linking build\tests\test-scale.exe
[175/236] Linking build\examples\aubiomfcc.exe
[176/236] Linking build\examples\aubionotes.exe
[177/236] Linking build\examples\aubioonset.exe
[178/236] Linking build\examples\aubiopitch.exe
[179/236] Linking build\examples\aubioquiet.exe
[180/236] Compiling examples\aubiotrack.c
[181/236] Processing gen_sym_file: build\src\libaubio-5.dll build\src\libaubio-5.pdb build\src\aubio.lib build\src\libaubio-5.dll.manifest -> build\src\libaubio-5.def
[182/236] Processing utest: build\tests\test-sink-multi.exe build\tests\test-sink-multi.pdb build\tests\test-sink-multi.exe.manifest
[183/236] Processing utest: build\tests\test-sink.exe build\tests\test-sink.pdb build\tests\test-sink.exe.manifest
[184/236] Processing utest: build\tests\test-sink_apple_audio-multi.exe build\tests\test-sink_apple_audio-multi.pdb build\tests\test-sink_apple_audio-multi.exe.manifest
[185/236] Processing utest: build\tests\test-sink_apple_audio.exe build\tests\test-sink_apple_audio.pdb build\tests\test-sink_apple_audio.exe.manifest
[186/236] Processing utest: build\tests\test-sink_sndfile-multi.exe build\tests\test-sink_sndfile-multi.pdb build\tests\test-sink_sndfile-multi.exe.manifest
[187/236] Processing utest: build\tests\test-sink_sndfile.exe build\tests\test-sink_sndfile.pdb build\tests\test-sink_sndfile.exe.manifest
[188/236] Processing utest: build\tests\test-sink_wavwrite-multi.exe build\tests\test-sink_wavwrite-multi.pdb build\tests\test-sink_wavwrite-multi.exe.manifest
[189/236] Processing utest: build\tests\test-sink_wavwrite.exe build\tests\test-sink_wavwrite.pdb build\tests\test-sink_wavwrite.exe.manifest
[190/236] Processing utest: build\tests\test-source.exe build\tests\test-source.pdb build\tests\test-source.exe.manifest
[191/236] Processing utest: build\tests\test-source_apple_audio.exe build\tests\test-source_apple_audio.pdb build\tests\test-source_apple_audio.exe.manifest
aubiotrack.c
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiotrack.c(35): warning C4459: declaration of 'ibuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(67): note: see declaration of 'ibuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\aubiotrack.c(35): warning C4459: declaration of 'obuf' hides global declaration
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(68): note: see declaration of 'obuf'
C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\examples\parse_args.h(206) : warning C4702: unreachable code

[192/236] Processing utest: build\tests\test-source_avcodec.exe build\tests\test-source_avcodec.pdb build\tests\test-source_avcodec.exe.manifest
[193/236] Processing utest: build\tests\test-source_multi.exe build\tests\test-source_multi.pdb build\tests\test-source_multi.exe.manifest
[194/236] Processing utest: build\tests\test-source_seek.exe build\tests\test-source_seek.pdb build\tests\test-source_seek.exe.manifest
[195/236] Linking build\examples\aubiotrack.exe
[196/236] Processing utest: build\tests\test-source_sndfile.exe build\tests\test-source_sndfile.pdb build\tests\test-source_sndfile.exe.manifest
[197/236] Processing utest: build\tests\test-source_wavread.exe build\tests\test-source_wavread.pdb build\tests\test-source_wavread.exe.manifest
[198/236] Processing utest: build\tests\test-onset.exe build\tests\test-onset.pdb build\tests\test-onset.exe.manifest
[199/236] Processing utest: build\tests\test-peakpicker.exe build\tests\test-peakpicker.pdb build\tests\test-peakpicker.exe.manifest
[200/236] Processing utest: build\tests\test-pitch.exe build\tests\test-pitch.pdb build\tests\test-pitch.exe.manifest
[201/236] Processing utest: build\tests\test-pitchfcomb.exe build\tests\test-pitchfcomb.pdb build\tests\test-pitchfcomb.exe.manifest
[202/236] Processing utest: build\tests\test-pitchmcomb.exe build\tests\test-pitchmcomb.pdb build\tests\test-pitchmcomb.exe.manifest
[203/236] Processing utest: build\tests\test-pitchschmitt.exe build\tests\test-pitchschmitt.pdb build\tests\test-pitchschmitt.exe.manifest
[204/236] Processing utest: build\tests\test-pitchspecacf.exe build\tests\test-pitchspecacf.pdb build\tests\test-pitchspecacf.exe.manifest
[205/236] Processing utest: build\tests\test-pitchyin.exe build\tests\test-pitchyin.pdb build\tests\test-pitchyin.exe.manifest
[206/236] Processing utest: build\tests\test-pitchyinfft.exe build\tests\test-pitchyinfft.pdb build\tests\test-pitchyinfft.exe.manifest
[207/236] Processing utest: build\tests\test-awhitening.exe build\tests\test-awhitening.pdb build\tests\test-awhitening.exe.manifest
[208/236] Processing utest: build\tests\test-dct.exe build\tests\test-dct.pdb build\tests\test-dct.exe.manifest
[209/236] Processing utest: build\tests\test-fft.exe build\tests\test-fft.pdb build\tests\test-fft.exe.manifest
[210/236] Processing utest: build\tests\test-filterbank.exe build\tests\test-filterbank.pdb build\tests\test-filterbank.exe.manifest
[211/236] Processing utest: build\tests\test-filterbank_mel.exe build\tests\test-filterbank_mel.pdb build\tests\test-filterbank_mel.exe.manifest
[212/236] Processing utest: build\tests\test-mfcc.exe build\tests\test-mfcc.pdb build\tests\test-mfcc.exe.manifest
[213/236] Processing utest: build\tests\test-phasevoc.exe build\tests\test-phasevoc.pdb build\tests\test-phasevoc.exe.manifest
[214/236] Processing utest: build\tests\test-specdesc.exe build\tests\test-specdesc.pdb build\tests\test-specdesc.exe.manifest
[215/236] Processing utest: build\tests\test-tss.exe build\tests\test-tss.pdb build\tests\test-tss.exe.manifest
[216/236] Processing utest: build\tests\test-sampler.exe build\tests\test-sampler.pdb build\tests\test-sampler.exe.manifest
[217/236] Processing utest: build\tests\test-wavetable.exe build\tests\test-wavetable.pdb build\tests\test-wavetable.exe.manifest
[218/236] Processing utest: build\tests\test-beattracking.exe build\tests\test-beattracking.pdb build\tests\test-beattracking.exe.manifest
[219/236] Processing utest: build\tests\test-tempo.exe build\tests\test-tempo.pdb build\tests\test-tempo.exe.manifest
[220/236] Processing utest: build\tests\test-a_weighting.exe build\tests\test-a_weighting.pdb build\tests\test-a_weighting.exe.manifest
[221/236] Processing utest: build\tests\test-biquad.exe build\tests\test-biquad.pdb build\tests\test-biquad.exe.manifest
[222/236] Processing utest: build\tests\test-c_weighting.exe build\tests\test-c_weighting.pdb build\tests\test-c_weighting.exe.manifest
[223/236] Processing utest: build\tests\test-filter.exe build\tests\test-filter.pdb build\tests\test-filter.exe.manifest
[224/236] Processing utest: build\tests\test-resampler.exe build\tests\test-resampler.pdb build\tests\test-resampler.exe.manifest
[225/236] Processing utest: build\tests\test-cvec.exe build\tests\test-cvec.pdb build\tests\test-cvec.exe.manifest
[226/236] Processing utest: build\tests\test-delnull.exe build\tests\test-delnull.pdb build\tests\test-delnull.exe.manifest
[227/236] Processing utest: build\tests\test-fmat.exe build\tests\test-fmat.pdb build\tests\test-fmat.exe.manifest
[228/236] Processing utest: build\tests\test-fvec.exe build\tests\test-fvec.pdb build\tests\test-fvec.exe.manifest
[229/236] Processing utest: build\tests\test-lvec.exe build\tests\test-lvec.pdb build\tests\test-lvec.exe.manifest
[230/236] Processing utest: build\tests\test-mathutils-window.exe build\tests\test-mathutils-window.pdb build\tests\test-mathutils-window.exe.manifest
[231/236] Processing utest: build\tests\test-mathutils.exe build\tests\test-mathutils.pdb build\tests\test-mathutils.exe.manifest
[232/236] Processing utest: build\tests\test-hist.exe build\tests\test-hist.pdb build\tests\test-hist.exe.manifest
[233/236] Processing utest: build\tests\test-log.exe build\tests\test-log.pdb build\tests\test-log.exe.manifest
[234/236] Processing utest: build\tests\test-parameter.exe build\tests\test-parameter.pdb build\tests\test-parameter.exe.manifest
[235/236] Compiling aubio.pc.in
[236/236] Processing utest: build\tests\test-scale.exe build\tests\test-scale.pdb build\tests\test-scale.exe.manifest
Waf: Leaving directory `C:\Users\aspeiard\Desktop\Persoonlijk\performous-aubio\build'
'build' finished successfully (10.538s)

@piem
Copy link
Member

piem commented Apr 15, 2020

@Baklap4 @M4d40

could you try applying the following patch to master and rebuild the python module?

diff --git a/python/ext/aubiomodule.c b/python/ext/aubiomodule.c
index d4ed0336..2f44ad24 100644
--- a/python/ext/aubiomodule.c
+++ b/python/ext/aubiomodule.c
@@ -462,7 +462,7 @@ initaubio (void)
   PyModule_AddObject (m, "sink", (PyObject *) & Py_sinkType);
 
   PyModule_AddStringConstant(m, "float_type", AUBIO_NPY_SMPL_STR);
-  PyModule_AddStringConstant(m, "__version__", DEFINEDSTRING(AUBIO_VERSION));
+  PyModule_AddStringConstant(m, "__version__", "0.5.0~alpha");
 
   // add generated objects
   add_generated_objects(m);

you might want to make sure to uninstall the previous version first:

pip uninstall -yv aubio
pip install -v .

let us know if that helps,
thx, piem

@Baklap4
Copy link
Author

Baklap4 commented Apr 15, 2020

@piem that seems to make it fix 👍

@piem
Copy link
Member

piem commented Apr 15, 2020

thanks @Baklap4

so the problem is that, with some locales, the parameter extracted from this_version.py and passed to the compiler as a command line argument is not encoded as utf8 as it should.

could you let us know what your locale is (the language of your system installation)?

thanks, piem

@M4d40
Copy link

M4d40 commented Apr 15, 2020

i can't test the code change right now, but my system language is german:

GET-WinSystemLocale

LCID             Name             DisplayName
----             ----             -----------
1031             de-DE            Deutsch (Deutschland)

@Baklap4
Copy link
Author

Baklap4 commented Apr 15, 2020

My system locale is Dutch:

GET-WinSystemLocale

LCID             Name             DisplayName
----             ----             -----------
1043             nl-NL             Nederlands (Nederland)                                                                                                                  

Within windows i have not enabled the utf8 beta-support thing
image

the setting can be found: Configuration -> Region/Languages -> management -> systemsettings

@piem
Copy link
Member

piem commented Apr 15, 2020

thanks for your feedback @M4d40 and @Baklap4

it seems that we have found a workaround. now, i'm not sure what the correct way to fix this.

the goal is to pass a version string argument to the compiler withouth messing the encoding, regardless of the user's locale. Since 0.5.0~alpha contains only ascii characters, i'm not sure why the compiler is getting a string encoded in another charset.

what do you get when running python this_version.py on your system?

thanks, piem

@Baklap4
Copy link
Author

Baklap4 commented Apr 15, 2020

When running python this_version.py
image

it translates to: git command error: The system cannot find the given file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants