Closed chanakyavasantha closed 11 months ago
Hello, This issue is not related to the model zoo... You can find NEAI GitHubs here : https://github.com/orgs/stm32-hotspot/repositories?q=nanoedge&type=all&language=&sort= You can also use community page (or mailto:edge.ai@st.com) or using this space for more generic questions (https://stm32ai.st.com/contact/) Regards
Hello,
When linking a static library, you should set only the name of the library. Here for libneai.a, you should write -lneai
Regards,
Issue Description
Once we have downloaded the library zip file from Nano Edge AI Studio,Open a new stm32 project in Stm32 Cube Ide then the
libneai.a
static library file should be placed in theSrc
folder of the project. Additionally, theNanoEdgeAi.h
andknowledge.h
header files should be copied to theInc
folder.If we encounter an error indicating that
neai_classification
,neai_init
, orneai_anomaly_detection
cannot be found, it is likely that thelibneai.a
library is not accessible. To resolve this, we need to link the library with the linker ':libneai.aand set the library search path to
../Core/Src`.Steps to Reproduce
libneai.a
static library file in theSrc
folder.NanoEdgeAi.h
andknowledge.h
header files to theInc
folder.Expected Behavior
The project should build successfully without any errors related to missing functions such as
neai_classification
,neai_init
, orneai_anomaly_detection
.Actual Behavior
Encountering errors indicating that the mentioned functions cannot be found.
Environment