OS X error in std
Issue #7
resolved
Hi :)
1) Thank you for your work on chromaprint. It is brilliant. 2) Following the instructions for building chromaprint, first I run
cmake -DCMAKE_BUILD_TYPE=Release .
Then I run
make
and I get the following error:
chromaprint/src/utils.h:101:9: error: no member named
'fill' in namespace 'std'
std::fill(first, last, 0.0);
~~~~~^
1 error generated.
make[2]: *** [src/CMakeFiles/chromaprint.dir/fft_lib_vdsp.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/chromaprint.dir/all] Error 2
make: *** [all] Error 2
Best regards, Teo
Comments (4)
-
reporter -
- changed status to resolved
I think this should be fixed with d0a8d8b, but can you please test it? I have no way to test it on that version of clang.
-
reporter Hi Lukáš.
Thank you for your quick reply and sorry for not getting back sooner. The fix works and everything is now compiling.
Thanks again for the great work. :) Teo
-
Issue
#9was marked as a duplicate of this issue. - Log in to comment
I forgot to add a bit of detail of my environment:
I'm on OS 10.9 Mavericks with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix
The version of chromaprint is the latest, gotten with a git clone.