Issues running Audio example C++ SDK

Question/Issue:
When following the instructions outlined from EI here, and then running either the

APP_CUSTOM=1 make -j

command I get the following error:
make: *** No rule to make target ‘edge-impulse-sdk/tensorflow/lite/c/common.c’, needed by ‘edge-impulse-sdk/tensorflow/lite/c/common.o’. Stop.

Is there something I am missing? I cannot find anything named edge-impulse-sdk.

I have my computer connected to the project and have successfully ran it on my linux x86 ubuntu machine using the CLI ‘edge-impulse-linux-runner’

Project ID:
48756
Context/Use case:
I am just trying to classify the audio model for keyword recognition.

Hi @jackson_slater,

Have you copied the C++ library from your project in the directory?
From the repo’s README’:

2. Export your trained impulse as a C++ Library from the Edge Impulse Studio (see the Deployment page) and copy the folders into this repository.

Aurelien

1 Like

That definitely got me further. Thank you.

But, now when I run APP_AUDIO=1 make -j I get the following error:

make: *** [Makefile:101: source/audio.o] Error 1

And these errors around scope definition apply to earlier in the log:
source/audio.cpp:238:17: error: ‘run_moving_average_filter’ was not declared in this scope

source/audio.cpp:291:38: error: ‘classifier_maf’ was not declared in this scope; did you mean ‘classifier_buffer’?

source/audio.cpp:291:9: error: ‘clear_moving_average_filter’ was not declared in this scope
291 | clear_moving_average_filter(&classifier_maf[ix]);

Any idea what I could be missing in this case?

Thanks