cancel
Showing results for 
Search instead for 
Did you mean: 

Linker handles TFlite differently on different boards

KZait.1
Associate

I have two boards: STM32L4xx and STM32H7xxQ.

I use cubeAI 8.0.1 and tflite for a project in vision.

Having set all includes and settings, I successfully build and flash my code on the first board.

The second project uses the same include paths (exported from the first project -> imported), and the only differences must be: 1) board 2) USART port 3) CMSIS/Device

However, the same code fails to compile for the second board, resulting in:

undefined reference to `vtable for tflite::MicroErrorReporter'

which looks like a linker issue.

Are there any special instructions for how to debug what is happening, and understand what caused the difference in compilation between the two projects?

0 REPLIES 0