MTG / essentia.js

JavaScript library for music/audio analysis and processing powered by Essentia WebAssembly
https://essentia.upf.edu/essentiajs
GNU Affero General Public License v3.0
628 stars 41 forks source link

Fix Eigen library compilation error for custom extractors #74

Closed ljoglar closed 2 years ago

ljoglar commented 2 years ago

When compiling a custom extractor the following error happend:

`In file included from custom_bindings_extractor.cpp:2: In file included from ./custom_extractor.h:5: In file included from /emsdk/upstream/emscripten/system/local/include/essentia/algorithmfactory.h:26: /emsdk/upstream/emscripten/system/local/include/essentia/types.h:33:10: fatal error: 'unsupported/Eigen/CXX11/Tensor' file not found

include <unsupported/Eigen/CXX11/Tensor>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. `