Open Flora233333 opened 22 hours ago
Hello @Flora233333,
It is usually recommended not to use a library compiled with GCC in a project using another compiler. However, you may find a solution by using the appropriate compilation flags. Here is a troubleshooting guide available on the ARM website that seems to address your issue. Please tell me if it works for you.
Guillaume
Hi @GRATTINSTM,
Thank you for your reply.
I have already looked into the L6242E error doc and enabled short enums/wchar as suggested. However, I am still encountering the same errors:
STM32_ssd\STM32_ssd.axf: Error: L6242E: Cannot link object objdetect_pp_ssd_st.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
STM32_ssd\STM32_ssd.axf: Error: L6242E: Cannot link object objdetect_pp.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 4 information, 0 warning and 2 error messages.
"STM32_ssd\STM32_ssd.axf" - 2 Error(s), 0 Warning(s).
I hope to use the st_ssd_mobilenet_v1 post-processing code because I believe the official implementation may be more efficient.
Thanks again for your support!
Dear Developer, Hi ! I am trying to port the object detection application from the
stm32ai_application_code\object_detection
directory to my STM32H723. However, I encountered issues when integrating the libobjdetect_pp_GCC.a
into my Keil AC6 project.Description:
X-CUBE-AI: 9.1.0 Device: Custom-made STM32H723 board IDE: Keil (AC6) Model: st_ssd_mobilenet_v1
When I add the library (
objdetect_pp_GCC.a
) to the project, I receive the following errors during the compilation:I attempted to rename the file to
objdetect_pp_GCC.lib
to resolve the above issue. (and it seems that the error was resolved)However, I have encountered another compilation error when calling the
objdetect_ssd_st_pp_process
function in my code. Below is the function I added:During compilation, I encounter the following error:
Could you please guide me on how to properly integrate the objdetect_pp_GCC.a library with my STM32H723 project in Keil AC6? Or is it necessary to write the post-processing code myself, as the official library might not be compatible
I appreciate your help and look forward to your response. Thank you!