Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,261 Views

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 !

Tags (1)
2 Replies
Highlighted
New Contributor I
10 Views

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::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]

push_back(Port("",val));

^

/home/root/yaafe-v0.64/src_cpp/yaafe-core/Ports.h:62:27: note: declarations in dependent base 'std::vector, std::allocator > >' 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

0 Kudos
Highlighted
Employee
10 Views

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 https://cmake.org/download/ CMake from source.

Also, did you make sure to install all the dependencies needed for yaafe? Take a look at http://yaafe.sourceforge.net/manual/install.html 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.

Peter.

0 Kudos