2025-06-12 7:05 AM
Hello,
I’m working on a project based on the x-cube-n6-ai-h264-usb-uvc-v1.0.0 example, which originally used the network.c file generated by STedgeAI 2.0. However, I can now only download STedgeAI 2.1, and the code generated by both versions is not compatible. I’ve tried updating the network.c generated by STedgeAI 2.1 into my project, but I’m encountering the following errors during compilation:
I’ve tried updating the libraries and replacing the network.c file, but the issue persists. Given my project requirements, I need to integrate STedgeAI 2.1 generated code into the existing project.
Could anyone suggest how to update the project so that it is compatible with the files generated by STedgeAI 2.1? What parts do I need to modify? How can I avoid similar linker errors when replacing network.c and updating the libraries?
Any help would be greatly appreciated. Thank you!
Additional Details:
I am using the STM32N6 development board.
The error message cannot find -lNetworkRuntime1000_CM55_GCC indicates that the system cannot find this library, which might be related to a path or version mismatch.
I’ve already tried cleaning the project and rebuilding, but the issue remains.
Solved! Go to Solution.
2025-06-12 8:35 AM
Hello,
The NetworkRuntime library version has changed when moving from STEdgeAI v2.0 to v2.1.
I suggest to modify the project to link against:
Or migrate your codebase to the latest version of the example application:
https://github.com/STMicroelectronics/x-cube-n6-ai-h264-usb-uvc
David
2025-06-12 8:35 AM
Hello,
The NetworkRuntime library version has changed when moving from STEdgeAI v2.0 to v2.1.
I suggest to modify the project to link against:
Or migrate your codebase to the latest version of the example application:
https://github.com/STMicroelectronics/x-cube-n6-ai-h264-usb-uvc
David
2025-06-12 9:44 PM
Thank you for your help! I’ve updated the AI_Runtime library and the network.c files, and I’ve linked against NetworkRuntime1010_CM55_GCC.a. The project now compiles without errors, and I can see the expected results.