OS X error in std

Issue #7 resolved
Teo Sartori created an issue

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)

  1. Teo Sartori reporter

    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.

  2. Teo Sartori 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

  3. Log in to comment