Welcome to the Linux Foundation Forum!

essentia lib doesn't compile for windows using ubuntu bash

Hi, everyone. I tries to compile essentia lib for windows, but I still face a compilation error :(. I followed offical instructions to build for windows using ubuntu bash on windows, but it doesn't help me.
Here is a compilation error:
[PHP]
Waf: Entering directory `/mnt/e/essentia/build'
→ building from /mnt/e/essentia
→ building from /mnt/e/essentia/src
Building all the algorithms
Ignoring the following algorithms: IFFTK, MusicExtractorSVM, TensorflowPredict, IFFTAComplex, FFTA, IFFTA, FFTK, TensorflowPredictMusiCNN, FFTAComplex, FFTKComplex, IFFTKComplex, GaiaTransform, TensorflowPredictVGGish
Created algorithms registration file
→ building from /mnt/e/essentia/src/examples
[ 1/298] Compiling src/algorithms/stats/entropy.cpp
[ 2/298] Compiling src/algorithms/temporal/leq.cpp
[ 3/298] Compiling src/algorithms/io/monowriter.cpp
[ 4/298] Compiling src/essentia/utils/extractor_music/MusicLowlevelDescriptors.cpp
In file included from /usr/share/mingw-w64/include/time.h:300,
from ../src/essentia/streaming/../utils/tnt/tnt_stopwatch.h:24,
from ../src/essentia/streaming/../utils/tnt/tnt.h:57,
from ../src/essentia/streaming/../essentiautil.h:27,
from ../src/essentia/streaming/phantombuffer.h:27,
from ../src/essentia/streaming/source.h:138,
from ../src/essentia/streaming/streamingalgorithm.h:271,
from ../src/algorithms/io/monowriter.h:23,
from ../src/algorithms/io/monowriter.cpp:20:
/usr/include/x86_64-linux-gnu/sys/timeb.h:21:10: fatal error: features.h: No such file or directory
21 | #include <features.h>
| ^~~~
compilation terminated.

In file included from /usr/share/mingw-w64/include/time.h:300,
from ../src/essentia/utils/tnt/tnt_stopwatch.h:24,
from ../src/essentia/utils/tnt/tnt.h:57,
from ../src/essentia/pool.h:25,
from ../src/essentia/utils/extractor_music/MusicDescriptorsSet.h:25,
from ../src/essentia/utils/extractor_music/MusicLowlevelDescriptors.h:23,
from ../src/essentia/utils/extractor_music/MusicLowlevelDescriptors.cpp:20:
/usr/include/x86_64-linux-gnu/sys/timeb.h:21:10: fatal error: features.h: No such file or directory
21 | #include <features.h>
| ^~~~
compilation terminated.

In file included from /usr/share/mingw-w64/include/time.h:300,
from ../src/essentia/streaming/../utils/tnt/tnt_stopwatch.h:24,
from ../src/essentia/streaming/../utils/tnt/tnt.h:57,
from ../src/essentia/streaming/../essentiautil.h:27,
from ../src/essentia/streaming/phantombuffer.h:27,
from ../src/essentia/streaming/source.h:138,
from ../src/essentia/streaming/streamingalgorithm.h:271,
from ../src/essentia/streaming/accumulatoralgorithm.h:23,
from ../src/algorithms/temporal/leq.h:53,
from ../src/algorithms/temporal/leq.cpp:20:
/usr/include/x86_64-linux-gnu/sys/timeb.h:21:10: fatal error: features.h: No such file or directory
21 | #include <features.h>
| ^~~~
compilation terminated.

In file included from /usr/share/mingw-w64/include/time.h:300,
from ../src/essentia/streaming/../utils/tnt/tnt_stopwatch.h:24,
[/PHP]
What it can be? Please help :(

Categories

Upcoming Training