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.86k stars 534 forks source link

Build with ffmpeg error when cross compile for iOS #1436

Open luckysmg opened 3 months ago

luckysmg commented 3 months ago

branch: master under ffmpeg@4

build cmd:

python3 waf configure --cross-compile-ios —lightweight=libav --fft=ACCELERATE --build-static --include-algos=BeatTrackerMultiFeature

error msg:

In file included from ../src/essentia/utils/audiocontext.cpp:20: In file included from ../src/essentia/utils/audiocontext.h:26: ../src/essentia/utils/ffmpegapi.h:24:10: fatal error: 'libavcodec/avcodec.h' file not found #include <libavcodec/avcodec.h>          ^~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated.

The complete log:

Log ``` → configuring the project in /Users/wjr/Desktop/essentia → Building in release mode → Cross-compiling for iOS (ARMv7 and ARM64) Checking for 'clang++' (C++ compiler) : /usr/bin/clang++ Checking for 'clang' (C compiler) : /usr/bin/clang Checking for program 'pkg-config' : /usr/local/bin/pkg-config Checking for 'eigen3' : yes Checking for 'libavcodec' >= 55.34.1 : yes Checking for 'libavformat' : yes Checking for 'libavutil' : yes Checking for 'libswresample' : yes Checking for 'samplerate' : yes Checking for 'taglib' >= 1.9 : yes Checking for 'yaml-0.1' : yes Checking for 'fftw3f' : yes Checking for 'libchromaprint' : yes ================================ CONFIGURATION SUMMARY ================================ - using Accelerate Framework for FFT - FFmpeg / libav detected! - libsamplerate (SRC) detected! The following algorithms will be included: ['EqloudLoader', 'AudioWriter', 'MonoLoader', 'Resample', 'MonoWriter', 'AudioLoader', 'EasyLoader'] - TagLib detected! The following algorithms will be included: ['MetadataReader', 'MusicExtractor', 'FreesoundExtractor'] - libyaml detected! The following algorithms will be included: ['YamlInput', 'YamlOutput'] - Essentia is configured without Gaia2. The following algorithms will be ignored: ['GaiaTransform', 'MusicExtractorSVM'] Examples requiring Gaia2 will be ignored - Chromaprint detected! The following algorithms will be included: ['Chromaprinter'] - Essentia is configured without Tensorflow. The following algorithms will be ignored: ['TensorflowPredict', 'TensorflowPredictMusiCNN', 'TensorflowPredictVGGish', 'TensorflowPredictTempoCNN', 'TensorflowPredictCREPE', 'PitchCREPE', 'TempoCNN', 'TensorflowPredictEffnetDiscogs', 'TensorflowPredict2D', 'TensorflowPredictFSDSINet', 'TensorflowPredictMAEST'] Building the following algorithms: BeatTrackerMultiFeature Created algorithms registration file --------------------------------------------------------------------------------------- - Building static library ======================================================================================= 'configure' finished successfully (0.704s) ....... ....... ....... ....... ....... ^ In file included from ../src/essentia/utils/audiocontext.cpp:20: In file included from ../src/essentia/utils/audiocontext.h:26: ../src/essentia/utils/ffmpegapi.h:24:10: fatal error: 'libavcodec/avcodec.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. In file included from ../src/essentia/streaming/streamingalgorithmcomposite.cpp:20: In file included from ../src/essentia/streaming/streamingalgorithmcomposite.h:23: In file included from ../src/essentia/streaming/streamingalgorithm.h:23: In file included from ../src/essentia/streaming/../configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/streaming/streamingalgorithmcomposite.cpp:20: In file included from ../src/essentia/streaming/streamingalgorithmcomposite.h:23: In file included from ../src/essentia/streaming/streamingalgorithm.h:23: In file included from ../src/essentia/streaming/../configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.h:23: In file included from ../src/essentia/utils/extractor_music/MusicDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.h:23: In file included from ../src/essentia/utils/extractor_music/MusicDescriptorsSet.h:31: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:35:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:237:69: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here standard::AlgorithmFactory& factory = standard::AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 3 warnings generated. In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.h:23: In file included from ../src/essentia/utils/extractor_music/MusicDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_music/MusicTonalDescriptors.h:23: In file included from ../src/essentia/utils/extractor_music/MusicDescriptorsSet.h:31: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:35:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_music/MusicTonalDescriptors.cpp:237:69: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here standard::AlgorithmFactory& factory = standard::AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 3 warnings generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:29:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:20: In file included from ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundLowlevelDescriptors.cpp:29:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/essentiautil.cpp:20: In file included from ../src/essentia/essentiautil.h:28: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/essentiautil.cpp:20: In file included from ../src/essentia/essentiautil.h:28: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/configurable.cpp:21: In file included from ../src/essentia/configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/configurable.cpp:21: In file included from ../src/essentia/configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:32:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundRhythmDescriptors.cpp:32:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:37:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:24: In file included from ../src/essentia/streaming/sourcebase.h:23: ../src/essentia/streaming/../types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:21: In file included from ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.h:23: In file included from ../src/essentia/utils/extractor_freesound/FreesoundDescriptorsSet.h:30: In file included from ../src/essentia/algorithmfactory.h:278: ../src/essentia/algorithmfactory_impl.h:27:8: warning: instantiation of variable 'essentia::EssentiaFactory::_instance' required here, but no definition is available [-Wundefined-var-template] if (!_instance) { ^ ../src/essentia/utils/extractor_freesound/FreesoundSfxDescriptors.cpp:37:49: note: in instantiation of member function 'essentia::EssentiaFactory::instance' requested here AlgorithmFactory& factory = AlgorithmFactory::instance(); ^ ../src/essentia/algorithmfactory.h:60:42: note: forward declaration of template entity is here static EssentiaFactory* _instance; ^ ../src/essentia/algorithmfactory_impl.h:27:8: note: add an explicit instantiation declaration to suppress this warning if 'essentia::EssentiaFactory::_instance' is explicitly instantiated in another translation unit if (!_instance) { ^ 2 warnings generated. In file included from ../src/essentia/streaming/algorithms/poolstorage.cpp:20: In file included from ../src/essentia/streaming/algorithms/poolstorage.h:23: In file included from ../src/essentia/streaming/algorithms/../streamingalgorithm.h:23: In file included from ../src/essentia/streaming/../configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. In file included from ../src/essentia/streaming/algorithms/poolstorage.cpp:20: In file included from ../src/essentia/streaming/algorithms/poolstorage.h:23: In file included from ../src/essentia/streaming/algorithms/../streamingalgorithm.h:23: In file included from ../src/essentia/streaming/../configurable.h:23: In file included from ../src/essentia/parameter.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. Waf: Leaving directory `/Users/wjr/Desktop/essentia/build' Build failed -> task in 'essentia' failed with exit status 1 (run with -v to display more information) /Users/wjr/Desktop/essentia/wscript:211: SyntaxWarning: invalid escape sequence '\w' """ Waf: Entering directory `/Users/wjr/Desktop/essentia/build' → building from /Users/wjr/Desktop/essentia → building from /Users/wjr/Desktop/essentia/src Building the following algorithms: BeatTrackerMultiFeature Created algorithms registration file [13/48] Compiling src/algorithms/rhythm/beattrackermultifeature.cpp [15/48] Compiling src/essentia/utils/yamlast.cpp [16/48] Compiling src/essentia/pool.cpp [19/48] Compiling src/essentia/utils/extractor_music/MusicRhythmDescriptors.cpp [24/48] Compiling src/essentia/utils/audiocontext.cpp [45/48] Compiling essentia.pc.in + install /usr/local/lib/pkgconfig/essentia.pc (from build/essentia.pc) In file included from ../src/essentia/utils/audiocontext.cpp:20: In file included from ../src/essentia/utils/audiocontext.h:25: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ In file included from ../src/essentia/utils/audiocontext.cpp:20: In file included from ../src/essentia/utils/audiocontext.h:26: ../src/essentia/utils/ffmpegapi.h:24:10: fatal error: 'libavcodec/avcodec.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. ............. ^ 1 warning generated. In file included from ../src/essentia/pool.cpp:20: In file included from ../src/essentia/pool.h:23: ../src/essentia/types.h:119:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] : public std::binary_function { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1025:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) ^ 1 warning generated. Waf: Leaving directory `/Users/wjr/Desktop/essentia/build' Build failed -> task in 'essentia' failed with exit status 1 (run with -v to display more information) wjr@MacBook-Pro-1855 essentia % ```