MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.81k stars 525 forks source link

undefined symbol: TF_DeleteSession #1350

Open Galvo87 opened 1 year ago

Galvo87 commented 1 year ago

I am facing an issue after building latest Essentia on a Ubuntu 22.04 box, with CUDA 11.8, CUDNN 8.6.0.163, Tensorrt and NVIDIA 525.125.06 driver.

Building is ok, but when launching a simple test program I get:

File "/usr/lib/python3/dist-packages/essentia/__init__.py", line 1, in <module> from . import _essentia ImportError: /usr/lib/python3/dist-packages/essentia/_essentia.cpython-310-x86_64-linux-gnu.so: undefined symbol: TF_DeleteSession

The essentia module is loaded fine by the interpreter, since I specified the PYTHONDIR using waf. What's the point with the undefined TF_DeleteSession symbol?

palonso commented 1 year ago

This indicates the TF_DeleteSession symbol is unavailable in the TensorFlow library you linked against. Can you detail the TensorFlow installation process, your config command, and the configuration and build logs?

Galvo87 commented 1 year ago

Sure, no problem. Tensorflow is installed with sudo pip3 install tensorflow. Latest Essentia is built cloning the repo and: sudo ./src/3rdparty/tensorflow/setup_from_python.sh chmod +x waf ./waf configure --build-static --with-python --pythondir=/usr/lib/python3/dist-packages --with-gaia --with-tensorflow ./waf sudo ./waf install

palonso commented 1 year ago

@Galvo87, I could reproduce the error when using TensorFlow 2.13 and I fixed it by installing TensorFlow 2.8.

Can you repeat the installation with the following change in the first step -> sudo pip3 install tensorflow==2.8

Galvo87 commented 1 year ago

Sure. Now sudo ./src/3rdparty/tensorflow/setup_from_python.sh returns this error:

Traceback (most recent call last):
  File "/home/user/Downloads/essentia/src/3rdparty/tensorflow/setup_tensorflow.py", line 51, in <module>
    import tensorflow
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "/usr/local/lib/python3.10/dist-packages/google/protobuf/descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

I tried to pip install protobuf==3.20.* and export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python but without luck.

palonso commented 1 year ago

sudo pip install protobuf==3.20 did the trick for me. Did you include the sudo?

Galvo87 commented 1 year ago

Gotcha, sudo didi the trick, but the ./waf build still fails:

Build failed -> task in 'essentia' failed with exit status 1: {task 140442367144480: cxx audiocontext.cpp -> audiocontext.cpp.1.o} ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/utils/audiocontext.cpp', '-c', '-o/home/developer/Downloads/essentia/build/src/essentia/utils/audiocontext.cpp.1.o', '-fPIC'] -> task in 'essentia' failed with exit status 1: {task 140442367139664: cxx audioloader.cpp -> audioloader.cpp.1.o} ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/io/audioloader.cpp', '-c', '-o/home/developer/Downloads/essentia/build/src/algorithms/io/audioloader.cpp.1.o', '-fPIC'] -> task in 'essentia' failed with exit status 1: {task 140442367142800: cxx essentia_algorithms_reg.cpp -> essentia_algorithms_reg.cpp.1.o} ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/essentia_algorithms_reg.cpp', '-c', '-o/home/developer/Downloads/essentia/build/src/algorithms/essentia_algorithms_reg.cpp.1.o', '-fPIC']

palonso commented 1 year ago

Can you provide the full log showing where the error happens?

Also, your original problem related to TF_DeleteSession happened after successfully building and installing essentia, right? We are only changing the TensorFlow library we link against, so I don't see how we are getting a build error now.

Galvo87 commented 1 year ago

Sure, you can fin the log below.

./waf -v
Waf: Entering directory `/home/user/essentia/build'
→ building from /home/user/essentia
→ building from /home/user/essentia/src
Building all the algorithms
Ignoring the following algorithms: IFFTKComplex, FFTA, FFTK, FFTAComplex, IFFTK, IFFTA, FFTKComplex, IFFTAComplex
Created algorithms registration file
→ building from /home/user/essentia/src/python
[ 79/314] Compiling src/algorithms/spectral/hfc.cpp
14:41:32 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/spectral/hfc.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/spectral/hfc.cpp.1.o', '-fPIC']
[ 80/314] Compiling src/essentia/utils/jsonconvert.cpp
14:41:32 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/utils/jsonconvert.cpp', '-c', '-o/home/user/essentia/build/src/essentia/utils/jsonconvert.cpp.1.o', '-fPIC']
[121/314] Compiling src/algorithms/complex/cartesiantopolar.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/complex/cartesiantopolar.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/complex/cartesiantopolar.cpp.1.o', '-fPIC']
[130/314] Compiling src/algorithms/filters/iir.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/filters/iir.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/filters/iir.cpp.1.o', '-fPIC']
[133/314] Compiling src/algorithms/sfx/tctototal.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/sfx/tctototal.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/sfx/tctototal.cpp.1.o', '-fPIC']
[135/314] Compiling src/algorithms/sfx/aftermaxtobeforemaxenergyratio.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/sfx/aftermaxtobeforemaxenergyratio.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/sfx/aftermaxtobeforemaxenergyratio.cpp.1.o', '-fPIC']
[136/314] Compiling src/algorithms/io/audioloader.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/io/audioloader.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/io/audioloader.cpp.1.o', '-fPIC']
[138/314] Compiling src/essentia/utils/audiocontext.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/utils/audiocontext.cpp', '-c', '-o/home/user/essentia/build/src/essentia/utils/audiocontext.cpp.1.o', '-fPIC']
[139/314] Compiling src/algorithms/rhythm/percivalbpmestimator.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/rhythm/percivalbpmestimator.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/rhythm/percivalbpmestimator.cpp.1.o', '-fPIC']
[141/314] Compiling src/algorithms/standard/replaygain.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/replaygain.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/replaygain.cpp.1.o', '-fPIC']
[142/314] Compiling src/algorithms/sfx/strongdecay.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/sfx/strongdecay.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/sfx/strongdecay.cpp.1.o', '-fPIC']
[143/314] Compiling src/algorithms/sfx/mintototal.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/sfx/mintototal.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/sfx/mintototal.cpp.1.o', '-fPIC']
[145/314] Compiling src/algorithms/standard/noiseadder.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/noiseadder.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/noiseadder.cpp.1.o', '-fPIC']
[147/314] Compiling src/algorithms/filters/allpass.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/filters/allpass.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/filters/allpass.cpp.1.o', '-fPIC']
[148/314] Compiling src/algorithms/rhythm/bpmrubato.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/rhythm/bpmrubato.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/rhythm/bpmrubato.cpp.1.o', '-fPIC']
[149/314] Compiling src/algorithms/filters/lowpass.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/filters/lowpass.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/filters/lowpass.cpp.1.o', '-fPIC']
[156/314] Compiling src/algorithms/filters/bandreject.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/filters/bandreject.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/filters/bandreject.cpp.1.o', '-fPIC']
[157/314] Compiling src/algorithms/standard/binaryoperator.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/binaryoperator.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/binaryoperator.cpp.1.o', '-fPIC']
[159/314] Compiling src/essentia/utils/extractor_music/MusicRhythmDescriptors.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/utils/extractor_music/MusicRhythmDescriptors.cpp', '-c', '-o/home/user/essentia/build/src/essentia/utils/extractor_music/MusicRhythmDescriptors.cpp.1.o', '-fPIC']
[160/314] Compiling src/algorithms/machinelearning/tensorflowpredictfsdsinet.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/machinelearning/tensorflowpredictfsdsinet.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/machinelearning/tensorflowpredictfsdsinet.cpp.1.o', '-fPIC']
[161/314] Compiling src/algorithms/rhythm/bpmhistogramdescriptors.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/rhythm/bpmhistogramdescriptors.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/rhythm/bpmhistogramdescriptors.cpp.1.o', '-fPIC']
[162/314] Compiling src/algorithms/standard/nsgconstantqstreaming.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/nsgconstantqstreaming.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/nsgconstantqstreaming.cpp.1.o', '-fPIC']
[163/314] Compiling src/algorithms/machinelearning/tensorflowpredict.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/machinelearning/tensorflowpredict.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/machinelearning/tensorflowpredict.cpp.1.o', '-fPIC']
[164/314] Compiling src/essentia/streaming/algorithms/ringbufferoutput.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/streaming/algorithms/ringbufferoutput.cpp', '-c', '-o/home/user/essentia/build/src/essentia/streaming/algorithms/ringbufferoutput.cpp.1.o', '-fPIC']
[165/314] Compiling src/algorithms/rhythm/superfluxnovelty.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/rhythm/superfluxnovelty.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/rhythm/superfluxnovelty.cpp.1.o', '-fPIC']
[166/314] Compiling src/algorithms/standard/fftw.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/fftw.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/fftw.cpp.1.o', '-fPIC']
[167/314] Compiling src/algorithms/complex/magnitude.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/complex/magnitude.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/complex/magnitude.cpp.1.o', '-fPIC']
[168/314] Compiling src/algorithms/standard/tensortopool.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/standard/tensortopool.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/standard/tensortopool.cpp.1.o', '-fPIC']
[178/314] Compiling src/algorithms/spectral/energybandratio.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/spectral/energybandratio.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/spectral/energybandratio.cpp.1.o', '-fPIC']
[184/314] Compiling src/algorithms/essentia_algorithms_reg.cpp
14:41:33 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/essentia_algorithms_reg.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/essentia_algorithms_reg.cpp.1.o', '-fPIC']
[313/314] Compiling essentia.pc.in
../src/essentia/utils/audiocontext.cpp: In constructor ‘essentia::AudioContext::AudioContext()’:
../src/essentia/utils/audiocontext.cpp:33:3: error: ‘av_register_all’ was not declared in this scope
   33 |   av_register_all(); // this should be done once only..
      |   ^~~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘int essentia::AudioContext::create(const string&, const string&, int, int, int)’:
../src/essentia/utils/audiocontext.cpp:48:53: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive]
   48 |   AVOutputFormat* av_output_format = av_guess_format(format.c_str(), 0, 0);
      |                                      ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     const AVOutputFormat*
../src/essentia/utils/audiocontext.cpp:67:42: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   67 |   _codecCtx                 = _avStream->codec;
      |                                          ^~~~~
../src/essentia/utils/audiocontext.cpp:72:14: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
   72 |   _codecCtx->channels       = nChannels;
      |              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:72:14: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
   72 |   _codecCtx->channels       = nChannels;
      |              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:72:14: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
   72 |   _codecCtx->channels       = nChannels;
      |              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:73:14: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
   73 |   _codecCtx->channel_layout = av_get_default_channel_layout(nChannels);
      |              ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:73:14: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
   73 |   _codecCtx->channel_layout = av_get_default_channel_layout(nChannels);
      |              ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:73:14: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
   73 |   _codecCtx->channel_layout = av_get_default_channel_layout(nChannels);
      |              ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:73:60: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
   73 |   _codecCtx->channel_layout = av_get_default_channel_layout(nChannels);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/local/include/libavutil/frame.h:33,
                 from /usr/local/include/libavcodec/avcodec.h:35,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavutil/channel_layout.h:482:9: note: declared here
  482 | int64_t av_get_default_channel_layout(int nb_channels);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:77:45: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
   77 |   AVCodec* audioCodec = avcodec_find_encoder(_codecCtx->codec_id);
      |                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             const AVCodec*
../src/essentia/utils/audiocontext.cpp:125:49: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  125 |       _codecCtx->frame_size = 4096 / _codecCtx->channels / av_get_bytes_per_sample(AV_SAMPLE_FMT_S16);
      |                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:125:49: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  125 |       _codecCtx->frame_size = 4096 / _codecCtx->channels / av_get_bytes_per_sample(AV_SAMPLE_FMT_S16);
      |                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:125:49: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  125 |       _codecCtx->frame_size = 4096 / _codecCtx->channels / av_get_bytes_per_sample(AV_SAMPLE_FMT_S16);
      |                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:140:57: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  140 |                                              _codecCtx->channels,
      |                                                         ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:140:57: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  140 |                                              _codecCtx->channels,
      |                                                         ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:140:57: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  140 |                                              _codecCtx->channels,
      |                                                         ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:145:20: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’
  145 |   strncpy(_muxCtx->filename, _filename.c_str(), sizeof(_muxCtx->filename));
      |                    ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:145:65: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’
  145 |   strncpy(_muxCtx->filename, _filename.c_str(), sizeof(_muxCtx->filename));
      |                                                                 ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:151:65: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  151 |   av_opt_set_int(_convertCtxAv, "in_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                 ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:151:65: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  151 |   av_opt_set_int(_convertCtxAv, "in_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                 ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:151:65: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  151 |   av_opt_set_int(_convertCtxAv, "in_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                 ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:152:66: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  152 |   av_opt_set_int(_convertCtxAv, "out_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                  ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:152:66: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  152 |   av_opt_set_int(_convertCtxAv, "out_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                  ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:152:66: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  152 |   av_opt_set_int(_convertCtxAv, "out_channel_layout", _codecCtx->channel_layout, 0);
      |                                                                  ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::close()’:
../src/essentia/utils/audiocontext.cpp:194:28: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  194 |   avcodec_close(_avStream->codec);
      |                            ^~~~~
../src/essentia/utils/audiocontext.cpp:198:24: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  198 |   av_freep(&_avStream->codec);
      |                        ^~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::write(const std::vector<essentia::Tuple2<float> >&)’:
../src/essentia/utils/audiocontext.cpp:218:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  218 |   if (_codecCtx->channels != 2) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:218:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  218 |   if (_codecCtx->channels != 2) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:218:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  218 |   if (_codecCtx->channels != 2) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:219:100: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  219 |     throw EssentiaException("Trying to write stereo audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                    ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:219:100: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  219 |     throw EssentiaException("Trying to write stereo audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                    ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:219:100: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  219 |     throw EssentiaException("Trying to write stereo audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                    ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::write(const std::vector<float>&)’:
../src/essentia/utils/audiocontext.cpp:243:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  243 |   if (_codecCtx->channels != 1) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:243:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  243 |   if (_codecCtx->channels != 1) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:243:18: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  243 |   if (_codecCtx->channels != 1) {
      |                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:244:98: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  244 |     throw EssentiaException("Trying to write mono audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:244:98: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  244 |     throw EssentiaException("Trying to write mono audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:244:98: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  244 |     throw EssentiaException("Trying to write mono audio data to an audio file with ", _codecCtx->channels, " channels");
      |                                                                                                  ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::encodePacket(int)’:
../src/essentia/utils/audiocontext.cpp:275:62: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  275 |                                                   _codecCtx->channels,
      |                                                              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:275:62: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  275 |                                                   _codecCtx->channels,
      |                                                              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:275:62: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  275 |                                                   _codecCtx->channels,
      |                                                              ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:282:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  282 |                                _codecCtx->channels, size,
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:282:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  282 |                                _codecCtx->channels, size,
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:282:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  282 |                                _codecCtx->channels, size,
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:10: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |          ^~~~~~~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:35,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavutil/frame.h:565:14: note: declared here
  565 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:10: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |          ^~~~~~~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:35,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavutil/frame.h:565:14: note: declared here
  565 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:10: warning: ‘AVFrame::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |          ^~~~~~~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:35,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavutil/frame.h:565:14: note: declared here
  565 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:38: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |                                      ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:38: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |                                      ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:312:38: warning: ‘AVCodecContext::channel_layout’ is deprecated [-Wdeprecated-declarations]
  312 |   frame->channel_layout = _codecCtx->channel_layout;
      |                                      ^~~~~~~~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1124:14: note: declared here
 1124 |     uint64_t channel_layout;
      |              ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:314:59: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  314 |   int result = avcodec_fill_audio_frame(frame, _codecCtx->channels, _codecCtx->sample_fmt,
      |                                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:314:59: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  314 |   int result = avcodec_fill_audio_frame(frame, _codecCtx->channels, _codecCtx->sample_fmt,
      |                                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:314:59: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  314 |   int result = avcodec_fill_audio_frame(frame, _codecCtx->channels, _codecCtx->sample_fmt,
      |                                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:315:81: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  315 |                                         bufferFmt, outputPlaneSize * _codecCtx->channels, 0);
      |                                                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:315:81: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  315 |                                         bufferFmt, outputPlaneSize * _codecCtx->channels, 0);
      |                                                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:315:81: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  315 |                                         bufferFmt, outputPlaneSize * _codecCtx->channels, 0);
      |                                                                                 ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/essentia/utils/audiocontext.cpp:325:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  325 |   av_init_packet(&packet);
      |   ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:45,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:331:7: error: ‘avcodec_encode_audio2’ was not declared in this scope; did you mean ‘avcodec_encode_subtitle’?
  331 |   if (avcodec_encode_audio2(_codecCtx, &packet, frame, &got_output) < 0) {
      |       ^~~~~~~~~~~~~~~~~~~~~
      |       avcodec_encode_subtitle
../src/essentia/utils/audiocontext.cpp:339:5: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  339 |     av_free_packet(&packet);
      |     ^~~~~~~~~~~~~~
      |     av_new_packet
../src/essentia/utils/audiocontext.cpp:274:7: warning: unused variable ‘inputPlaneSize’ [-Wunused-variable]
  274 |   int inputPlaneSize = av_samples_get_buffer_size(NULL,
      |       ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::writeEOF()’:
../src/essentia/utils/audiocontext.cpp:349:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  349 |   av_init_packet(&packet);
      |   ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:45,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/essentia/utils/audiocontext.h:26,
                 from ../src/essentia/utils/audiocontext.cpp:20:
/usr/local/include/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
../src/essentia/utils/audiocontext.cpp:355:9: error: ‘avcodec_encode_audio2’ was not declared in this scope; did you mean ‘avcodec_encode_subtitle’?
  355 |     if (avcodec_encode_audio2(_codecCtx, &packet, NULL, &got_output) < 0) {
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         avcodec_encode_subtitle
../src/essentia/utils/audiocontext.cpp:362:7: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  362 |       av_free_packet(&packet);
      |       ^~~~~~~~~~~~~~
      |       av_new_packet
../src/essentia/utils/audiocontext.cpp: In member function ‘void essentia::AudioContext::open()’:
../src/essentia/utils/audiocontext.cpp:176:24: warning: ignoring return value of ‘int avformat_write_header(AVFormatContext*, AVDictionary**)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  176 |   avformat_write_header(_muxCtx, /* AVDictionary **options */ NULL);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../src/algorithms/io/audioloader.cpp:20:
../src/algorithms/io/audioloader.h: In constructor ‘essentia::streaming::AudioLoader::AudioLoader()’:
../src/algorithms/io/audioloader.h:98:5: error: ‘av_register_all’ was not declared in this scope
   98 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
../src/algorithms/io/audioloader.cpp: In member function ‘void essentia::streaming::AudioLoader::openAudioFile(const string&)’:
../src/algorithms/io/audioloader.cpp:81:36: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   81 |         if (_demuxCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
      |                                    ^~~~~
../src/algorithms/io/audioloader.cpp:102:49: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  102 |     _audioCtx = _demuxCtx->streams[_streamIdx]->codec;
      |                                                 ^~~~~
../src/algorithms/io/audioloader.cpp:103:39: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  103 |     _audioCodec = avcodec_find_decoder(_audioCtx->codec_id);
      |                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       const AVCodec*
../src/algorithms/io/audioloader.cpp:114:63: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  114 |     int64_t layout = av_get_default_channel_layout(_audioCtx->channels);
      |                                                               ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/algorithms/io/audioloader.cpp:114:63: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  114 |     int64_t layout = av_get_default_channel_layout(_audioCtx->channels);
      |                                                               ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/algorithms/io/audioloader.cpp:114:63: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  114 |     int64_t layout = av_get_default_channel_layout(_audioCtx->channels);
      |                                                               ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/algorithms/io/audioloader.cpp:114:51: warning: ‘int64_t av_get_default_channel_layout(int)’ is deprecated [-Wdeprecated-declarations]
  114 |     int64_t layout = av_get_default_channel_layout(_audioCtx->channels);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/libavutil/frame.h:33,
                 from /usr/local/include/libavcodec/avcodec.h:35,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavutil/channel_layout.h:482:9: note: declared here
  482 | int64_t av_get_default_channel_layout(int nb_channels);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/algorithms/io/audioloader.cpp:136:19: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  136 |     av_init_packet(&_packet);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:45,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
../src/algorithms/io/audioloader.cpp: In member function ‘void essentia::streaming::AudioLoader::closeAudioFile()’:
../src/algorithms/io/audioloader.cpp:164:5: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  164 |     av_free_packet(&_packet);
      |     ^~~~~~~~~~~~~~
      |     av_new_packet
../src/algorithms/io/audioloader.cpp: In member function ‘virtual essentia::streaming::AlgorithmStatus essentia::streaming::AudioLoader::process()’:
../src/algorithms/io/audioloader.cpp:247:5: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
  247 |     av_free_packet(&_packet);
      |     ^~~~~~~~~~~~~~
      |     av_new_packet
../src/algorithms/io/audioloader.cpp: In member function ‘int essentia::streaming::AudioLoader::decode_audio_frame(AVCodecContext*, float*, int*, AVPacket*)’:
../src/algorithms/io/audioloader.cpp:264:15: error: ‘avcodec_decode_audio4’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
  264 |     int len = avcodec_decode_audio4(audioCtx, _decodedFrame, &gotFrame, packet);
      |               ^~~~~~~~~~~~~~~~~~~~~
      |               avcodec_decode_subtitle2
../src/algorithms/io/audioloader.cpp: In member function ‘void essentia::streaming::AudioLoader::flushPacket()’:
../src/algorithms/io/audioloader.cpp:319:19: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  319 |     av_init_packet(&empty);
      |     ~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:45,
                 from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
../src/algorithms/io/audioloader.cpp: In member function ‘virtual void essentia::streaming::AudioLoader::reset()’:
../src/algorithms/io/audioloader.cpp:477:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  477 |     pushChannelsSampleRateInfo(_audioCtx->channels, _audioCtx->sample_rate);
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/algorithms/io/audioloader.cpp:477:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  477 |     pushChannelsSampleRateInfo(_audioCtx->channels, _audioCtx->sample_rate);
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~
../src/algorithms/io/audioloader.cpp:477:43: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  477 |     pushChannelsSampleRateInfo(_audioCtx->channels, _audioCtx->sample_rate);
      |                                           ^~~~~~~~
In file included from ../src/essentia/utils/ffmpegapi.h:24,
                 from ../src/algorithms/io/audioloader.h:25,
                 from ../src/algorithms/io/audioloader.cpp:20:
/usr/local/include/libavcodec/avcodec.h:1066:9: note: declared here
 1066 |     int channels;
      |         ^~~~~~~~

../src/algorithms/machinelearning/tensorflowpredict.cpp: In member function ‘void essentia::standard::TensorflowPredict::openGraph()’:
../src/algorithms/machinelearning/tensorflowpredict.cpp:188:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  188 |     fread(data, fsize, 1, f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~

../src/algorithms/standard/replaygain.cpp: In destructor ‘essentia::streaming::ReplayGain::~ReplayGain()’:
../src/algorithms/standard/replaygain.cpp:131:31: warning: ‘this’ pointer is null [-Wnonnull]
  131 |     _network->deleteAlgorithms();
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from ../src/algorithms/standard/replaygain.h:68,
                 from ../src/algorithms/standard/replaygain.cpp:20:
../src/essentia/scheduler/network.h:162:8: note: in a call to non-static member function ‘void essentia::scheduler::Network::deleteAlgorithms()’
  162 |   void deleteAlgorithms();
      |        ^~~~~~~~~~~~~~~~

In file included from ../src/algorithms/essentia_algorithms_reg.cpp:12:
../src/algorithms/io/audioloader.h: In constructor ‘essentia::streaming::AudioLoader::AudioLoader()’:
../src/algorithms/io/audioloader.h:98:5: error: ‘av_register_all’ was not declared in this scope
   98 |     av_register_all();
      |     ^~~~~~~~~~~~~~~

Waf: Leaving directory `/home/user/essentia/build'
Build failed
 -> task in 'essentia' failed with exit status 1: 
    {task 140442367144480: cxx audiocontext.cpp -> audiocontext.cpp.1.o}
['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/essentia/utils/audiocontext.cpp', '-c', '-o/home/user/essentia/build/src/essentia/utils/audiocontext.cpp.1.o', '-fPIC']
 -> task in 'essentia' failed with exit status 1: 
    {task 140442367139664: cxx audioloader.cpp -> audioloader.cpp.1.o}
['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/io/audioloader.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/io/audioloader.cpp.1.o', '-fPIC']
 -> task in 'essentia' failed with exit status 1: 
    {task 140442367142800: cxx essentia_algorithms_reg.cpp -> essentia_algorithms_reg.cpp.1.o}
['/usr/bin/g++', '-std=c++11', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-pthread', '-Isrc', '-I../src', '-Isrc/essentia', '-I../src/essentia', '-Isrc/essentia/scheduler', '-I../src/essentia/scheduler', '-Isrc/essentia/streaming', '-I../src/essentia/streaming', '-Isrc/essentia/streaming/algorithms', '-I../src/essentia/streaming/algorithms', '-Isrc/essentia/utils', '-I../src/essentia/utils', '-Isrc/3rdparty', '-I../src/3rdparty', '-Isrc/3rdparty/spline', '-I../src/3rdparty/spline', '-Isrc/3rdparty/nnls', '-I../src/3rdparty/nnls', '-Isrc/3rdparty/cephes/bessel', '-I../src/3rdparty/cephes/bessel', '-I/usr/include/eigen3', '-I/usr/local/include', '-I/usr/local/include/taglib', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/local/include/tensorflow', '-DHAVE_EIGEN3=1', '-DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-DHAVE_LIBCHROMAPRINT=1', '-DHAVE_GAIA2=1', '-DHAVE_TENSORFLOW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DEIGEN_MPL2_ONLY', '../src/algorithms/essentia_algorithms_reg.cpp', '-c', '-o/home/user/essentia/build/src/algorithms/essentia_algorithms_reg.cpp.1.o', '-fPIC']
Galvo87 commented 1 year ago

Also, your original problem related to TF_DeleteSession happened after successfully building and installing essentia, right? We are only changing the TensorFlow library we link against, so I don't see how we are getting a build error now.

Yes, that's correct. Maybe I'd be better off starting again with a clean os.