Build process stopped at compile stage. Unable to find the following link-only objects that are specified in the build information: \Lib\GCC\a​rm_cortexm​7ldfsp_mat​h\libCMSIS​D

18 views (last 30 days)
Hola, estoy tratando de ejecutar el siguiente diagrama de bloques en Simulink con el NUCLEO-F746ZG.
Al ejecutar la generación de código, me resulta este error:

Answers (3)

Goutham Varanasi
Goutham Varanasi on 14 Feb 2024
Edited: Goutham Varanasi on 14 Feb 2024
Hi
This may be due to the issue during installation. Please perform a clean re-installation to overcome this.
You may follow the given Matlab answer to perform the reinstallation.
  1 Comment
Cristhian Chavez
Cristhian Chavez on 14 Feb 2024
Hi Goutham,
Thank you. I could fix the problem after reinstalling MATLAB, Simulink Coder, Embedded Coder Support Package for ARM Cortex-M Processors and Simulink Coder Support Package for STMicroelectronics Nucleo Boards.

Sign in to comment.


圣君
圣君 on 2 Jul 2024
I am tring to generate nad deploy code on my STM32NUCLEOF767ZI board but i met this problem "Build process stopped at compile stage. Unable to find the following link-only objects that are specified in the build information: C:\ProgramData\MATLAB\SupportPackages\R2023b\3P.instrset\cmsis_dsp.instrset\Lib\GCC\arm_cortexm7ldfdp_math\libCMSISDSP.a " and i have done the uninstallation and re-install 3 times according to the mathwork answer"Build process stopped at compile stage. Unable to find the following link-only objects that are specified in the build inform... - MATLAB Answers - MATLAB Central (mathworks.cn)"and "simulink编译报错找不到\Lib\GCC\arm_cortexm3l_math\libCMSISDSP.a - MATLAB Answers - MATLAB Central (mathworks.com)" and the problem still there. Could you pls gibe me some clue?

圣君
圣君 on 4 Jul 2024
I have found the reason: because I am using the work computer assigned by the company, there are restrictions on the permissions, and when I use the "Get Add-ons" method to get the supportpackage in MATLAB, the installation process is successful on the surface, but in fact, the library files and other files corresponding to the supportpackage are not installed successfully, so the corresponding files cannot be found in the actual code generation phase of compilation and linking. However, the corresponding libraries of the supportpackage are not installed successfully, so the corresponding files cannot be found in the compilation and linking phases of the actual code generation.
Solution: Instead of using the one-click installer in MATLAB, use the standalone supportpackage installer:

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!