Static Example won't compile w/ error: "ld returned 1 exit status"

Question/Issue:
I am trying to run a model with a custom processing block with Arduino Nano 33 BLE.
I mostly follow the tutorial, the data is from our custom sensor that spit out x y z, and we are trying to use the raw data to train some basic gesture detection.
When trying to deploy the model to the Arduino, everything works fine until compilation.
The error code is:

C:\Users\lhjor\AppData\Local\Temp\arduino\sketches\EC5BB9A52BCFE2A5CE49941D702B8F24\sketch\objs.a(static_buffer.ino.cpp.o):(.data.ei_dsp_blocks+0x2c): undefined reference to `extract_swipe_features_extraction_features(ei::ei_signal_t*, ei::ei_matrix*, void*, float)’
collect2.exe: error: ld returned 1 exit status

Using library SWIPE_Detection_inferencing at version 1.0.5 in folder: C:\Users\lhjor\Documents\Arduino\libraries\SWIPE_Detection_inferencing
exit status 1

Compilation error: exit status 1

Project ID:
269854

Context/Use case:
deploying a model with custom processing block to Arduino Nano 33 BLE

Hi @lhjordanlh,

It looks like you are trying to deploy a custom processing block without a C++ implementation. Please see the following documentation: Building custom processing blocks - Edge Impulse Documentation.

Note that you will need to implement your own extract_swipe_features_extraction_features() function in C++ and follow the guidance to configure parameters.json to find that function.

2 Likes