cancel
Showing results for 
Search instead for 
Did you mean: 

How to Update the Project to Be Compatible with Files Generated by STedgeAI 2.1

qiqi
Associate II

 

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:

 

Description Resource Path Location Type cannot find -lNetworkRuntime1000_CM55_GCC: No such file or directory x-cube-n6-ai-h264-usb-uvc C/C++ Problem Description Resource Path Location Type make: *** [makefile:97: x-cube-n6-ai-h264-usb-uvc.elf] Error 1 x-cube-n6-ai-h264-usb-uvc C/C++ Problem

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.

1 ACCEPTED SOLUTION

Accepted Solutions
David SIORPAES
ST Employee

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:

DavidSIORPAES_0-1749742257039.png

Or migrate your codebase to the latest version of the example application:

https://github.com/STMicroelectronics/x-cube-n6-ai-h264-usb-uvc

 

David

 

View solution in original post

2 REPLIES 2
David SIORPAES
ST Employee

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:

DavidSIORPAES_0-1749742257039.png

Or migrate your codebase to the latest version of the example application:

https://github.com/STMicroelectronics/x-cube-n6-ai-h264-usb-uvc

 

David

 

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.