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

fatal error: 'bits/c++config.h' file not found #277

Closed
erikparr opened this issue Aug 4, 2015 · 1 comment
Closed

fatal error: 'bits/c++config.h' file not found #277

erikparr opened this issue Aug 4, 2015 · 1 comment

Comments

@erikparr
Copy link

erikparr commented Aug 4, 2015

I'm getting the following error when trying to install the newest version of essentia on Yosemite.
I am configuring with the following flags:
./waf configure --mode=release --with-python --with-cpptests --with-examples --with-vamp --with-gaia

$ ./waf
Waf: Entering directory `/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build'
→ building from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2
→ building from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src
Building all the algorithms
→ building from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/examples
→ building from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/python
[ 47/322] cxx: src/algorithms/io/ringbufferoutput.cpp -> build/src/algorithms/io/ringbufferoutput.cpp.1.o
[ 50/322] cxx: src/algorithms/rhythm/tempotap.cpp -> build/src/algorithms/rhythm/tempotap.cpp.1.o
[ 51/322] cxx: src/algorithms/stats/geometricmean.cpp -> build/src/algorithms/stats/geometricmean.cpp.1.o
[ 52/322] cxx: src/algorithms/spectral/melbands.cpp -> build/src/algorithms/spectral/melbands.cpp.1.o
[ 53/322] cxx: src/algorithms/complex/polartocartesian.cpp -> build/src/algorithms/complex/polartocartesian.cpp.1.o
[ 54/322] cxx: src/algorithms/spectral/spectralpeaks.cpp -> build/src/algorithms/spectral/spectralpeaks.cpp.1.o
[ 55/322] cxx: src/algorithms/rhythm/onsetdetectionglobal.cpp -> build/src/algorithms/rhythm/onsetdetectionglobal.cpp.1.o
[ 56/322] cxx: src/algorithms/spectral/barkbands.cpp -> build/src/algorithms/spectral/barkbands.cpp.1.o
In file included from ../src/algorithms/io/ringbufferoutput.cpp:21:
In file included from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/utils/ringbufferimpl.h:23:
In file included from /Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/utils/atomic.h:74:
/usr/include/c++/4.2.1/ext/atomicity.h:38:10: fatal error: 'bits/c++config.h' file not found

include <bits/c++config.h>

     ^

1 error generated.
Waf: Leaving directory `/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build'
Build failed
-> task in 'essentia' failed (exit status 1):
{task 4484544528: cxx ringbufferoutput.cpp -> ringbufferoutput.cpp.1.o}
['/usr/bin/g++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-F/usr/local/Cellar/qt/4.8.7/lib', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/essentia', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/essentia/scheduler', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/scheduler', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/essentia/streaming', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/streaming', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/essentia/streaming/algorithms', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/streaming/algorithms', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/essentia/utils', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/essentia/utils', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/3rdparty', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/3rdparty', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/build/src/3rdparty/vamp-plugin-sdk-2.4', '-I/Users/erikparr/Documents/_Projects/freesound-python-master/essentia-2.1_beta2/src/3rdparty/vamp-plugin-sdk-2.4', '-I/usr/local/Cellar/fftw/3.3.4_1/include', '-I/usr/local/Cellar/ffmpeg/2.6.3/include', '-I/usr/local/Cellar/libsamplerate/0.1.8/include', '-I/usr/local/Cellar/taglib/1.9.1/include/taglib', '-I/usr/local/include/gaia2', '-I/usr/local/Cellar/qt/4.8.7/include', '-I/usr/local/Cellar/qt/4.8.7/include/QtCore', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_SWRESAMPLE=1', '-DHAVE_FFTW=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_GAIA2=1', '-D__STDC_CONSTANT_MACROS', '-DHAVE_YAML=1', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../src/algorithms/io/ringbufferoutput.cpp', '-c', '-o', 'src/algorithms/io/ringbufferoutput.cpp.1.o']

@erikparr
Copy link
Author

erikparr commented Aug 8, 2015

I fixed this by downloading the master branch on github, apparently i was using 2.1beta version which gave me this error.

@erikparr erikparr closed this as completed Aug 8, 2015
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

1 participant