Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation instructions are broken #1439

Open
joshavant opened this issue Sep 24, 2024 · 1 comment
Open

Compilation instructions are broken #1439

joshavant opened this issue Sep 24, 2024 · 1 comment

Comments

@joshavant
Copy link

joshavant commented Sep 24, 2024

I'm on macOS 14.1.1 with Xcode 15.4 on an M1 Max CPU, using the latest commit on master (a770d1b).

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.

Full compilation output

@bleach86
Copy link

I'm experiencing a similar build issue except for on Debian. Same issue with av_register_all causing the build to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants