MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

Failed to download resource "essentia" on Mac OS X #12

Closed ItsMiinnn closed 5 years ago

ItsMiinnn commented 5 years ago

Hello, I tried installing essentia using homebrew but failed. This is the error i got:

==> Installing essentia from mtg/essentia
==> Downloading https://homebrew.bintray.com/bottles-essentia/essentia-2.1_beta3

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "essentia"
Download failed: https://homebrew.bintray.com/bottles-essentia/essentia-2.1_beta3.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.

After this part i got the same error with Issue #11

==> Downloading https://github.com/MTG/essentia/archive/v2.1_beta3.tar.gz
Already downloaded: /Users/dominique/Library/Caches/Homebrew/downloads/370f9a6d8d63de6bb80c605fdbdceb5ad2723a7d568a1255660741cb27514697--essentia-2.1_beta3.tar.gz
==> ./waf configure --mode=release --with-python --with-vamp --with-examples --p
==> ./waf
Last 15 lines from /Users/dominique/Library/Logs/Homebrew/essentia/02.waf:
../src/algorithms/standard/constantq.cpp:104:58: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
  vector<complex<double> > hammingWindow(_FFTLength, 0.0 + 0.0j);
                                                     ~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:105:63: error: implicit conversion from '_Complex double' to 'float' is not permitted in C++
  vector<complex<Real> > transfHammingWindowR(_FFTLength, 0.0 + 0.0j);
                                                          ~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:120:42: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
    hammingWindow.assign(_FFTLength, 0.0 + 0.0j);
                                     ~~~~^~~~~~
4 errors generated.
Waf: Leaving directory `/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build'
Build failed
 -> task in 'essentia' failed (exit status 1): 
    {task 4588034064: cxx constantq.cpp -> constantq.cpp.1.o}
['clang++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-w', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-fPIC', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/scheduler', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/scheduler', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/streaming', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/streaming', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/utils', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/utils', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty/spline', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty/spline', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty/vamp-plugin-sdk-2.4', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty/vamp-plugin-sdk-2.4', '-I/usr/local/Cellar/fftw/3.3.8/include', '-I/usr/local/Cellar/ffmpeg/4.1/include', '-I/usr/local/Cellar/libsamplerate/0.1.9/include', '-I/usr/local/Cellar/taglib/1.11.1/include/taglib', '-I/usr/local/Cellar/libyaml/0.2.1/include', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../src/algorithms/standard/constantq.cpp', '-c', '-o', 'src/algorithms/standard/constantq.cpp.1.o']
alastair commented 5 years ago

As mentioned in #11, compilation of HEAD from source on OSX should now work. Use brew install essentia --HEAD to install

drscotthawley commented 7 months ago

Getting this error in 2024.

Error: essentia: Failed to download resource "essentia"

Will open a new issue since it's been multiple years.