essentia
essentia copied to clipboard
Compilation instructions are broken
I'm on macOS 14.1.1 with Xcode 15.4 on an M1 Max CPU, using the latest commit on master
(a770d1bc2b3f9fb3cefa835dcf5eb6a6e05e0f07).
So, since brew install
is broken (#1438), I went to try the compilation instructions on the website, located here:
https://essentia.upf.edu/installing.html#compiling-essentia
The given waf configure
command completes successfully. (python3 waf configure --build-static --with-python --with-cpptests --with-examples --with-vamp
)
However, building everything with python3 waf
does not.
The full output from both of these commands is linked below, but the interesting part to me seems to be this compiler error:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
^
../src/essentia/utils/audiocontext.cpp:33:3: error: use of undeclared identifier 'av_register_all'
From some quick research, av_register_all
is an ffmpeg function that was deprecated 6 years ago. (leandromoreira/ffmpeg-libav-tutorial#29).
If the project has a dependency on a 6+ year old library, that seems like essential documentation for the installation instructions, making them broken without it.
As a new user to this project, with this issue and #1438, I don't see a clear way for any new users to adopt this project.