2 Replies Latest reply on Feb 23, 2016 7:08 AM by Intel_Peter

    Yaafe installation


      Hi all,


      I have gotten yaafe to install on the edison, but I am having trouble installing it on the board, Has anyone got this to work?

      If so please help !

        • 1. Re: Yaafe installation

          This is my log output :

          root@edison:~/yaafe-v0.64# cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/bin/

          -- Found Argtable2: /usr/local/lib/libargtable2.so

          -- Found dl: /usr/lib/libdl.so

          -- Found libsndfile: /usr/local/lib/libsndfile.so

          -- Configuring done

          -- Generating done

          -- Build files have been written to: /home/root/yaafe-v0.64

          root@edison:~/yaafe-v0.64# make

          Scanning dependencies of target audio-smarc

          [  1%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/polyfilt.c.o

          [  2%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/smarc.c.o

          [  4%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/multi_stage.c.o

          [  5%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/stage_impl.c.o

          [  7%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/remez_lp.c.o

          [  8%] Building C object externals/CMakeFiles/audio-smarc.dir/audio-smarc/filtering.c.o

          Linking C static library libaudio-smarc.a

          [  8%] Built target audio-smarc

          Scanning dependencies of target yaafe-core

          [ 10%] Building CXX object src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/ComponentPool.cpp.o

          [ 11%] Building CXX object src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/AudioFileProcessor.cpp.o

          In file included from /home/root/yaafe-v0.64/src_cpp/yaafe-core/DirectedGraph.h:31:0,

                           from /home/root/yaafe-v0.64/src_cpp/yaafe-core/DataFlow.h:28,

                           from /home/root/yaafe-v0.64/src_cpp/yaafe-core/AudioFileProcessor.h:28,

                           from /home/root/yaafe-v0.64/src_cpp/yaafe-core/AudioFileProcessor.cpp:25:

          /home/root/yaafe-v0.64/src_cpp/yaafe-core/Ports.h: In instantiation of 'void YAAFE::Ports<T>::add(const T&) [with T = YAAFE::StreamInfo]':

          /home/root/yaafe-v0.64/src_cpp/yaafe-core/AudioFileProcessor.cpp:139:45:   required from here

          /home/root/yaafe-v0.64/src_cpp/yaafe-core/Ports.h:62:27: error: 'push_back' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]



          /home/root/yaafe-v0.64/src_cpp/yaafe-core/Ports.h:62:27: note: declarations in dependent base 'std::vector<YAAFE::Port<YAAFE::StreamInfo>, std::allocator<YAAFE::Port<YAAFE::StreamInfo> > >' are not found by unqualified lookup

          /home/root/yaafe-v0.64/src_cpp/yaafe-core/Ports.h:62:27: note: use 'this->push_back' instead

          src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/build.make:77: recipe for target 'src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/AudioFileProcessor.cpp.o' failed

          make[2]: *** [src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/AudioFileProcessor.cpp.o] Error 1

          CMakeFiles/Makefile2:186: recipe for target 'src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/all' failed

          make[1]: *** [src_cpp/yaafe-core/CMakeFiles/yaafe-core.dir/all] Error 2

          Makefile:133: recipe for target 'all' failed

          make: *** [all] Error 2

          • 2. Re: Yaafe installation

            Hello a_Monteiro,


            To install yaafe, you need to use the command ccmake, which Edison does not include, so you will probably have to build a newer version of CMake from source.


            Also, did you make sure to install all the dependencies needed for yaafe? Take a look at 1. Installing Yaafe — YAAFE - Yet Another Audio Feature Extractor, there you can find all the dependencies you will need and the instructions to install it once you have everything that's needed.