Skip to main content
SThie.1
Associate II
August 16, 2024
Question

Compile problems because of linked resources

  • August 16, 2024
  • 1 reply
  • 814 views

I update to V1.16 and found, that my project cannot compile anymore.

Problem are compile errors, double definitions and so on. I did not change the code, just updated and regenerated everything include the code generation of CubeMX ( from within the ide ).

So it turned out, that now the generated code is generated to an folder called Application beside the Core folder. And there are lots of files as linked resources within the project settings.

These linked resources are causing the problem, as the compiler tries to complie the same file double. once the real file and then again the linked file ( which of course is the same ).

Is that intended?

Can I adjust the cubemx to not create linked files and can I adjust whether to use "application"/"core" or not or whatsoever?

best regards,

Stefan

    1 reply

    Technical Moderator
    August 19, 2024

    Hello @SThie.1 ,

    What exactly did the error message say? Could you please share the log file or your screenshot with the error. 

    Check if you have the limitation described in the STM32CubeIDE errata:

    STM32CubeIDE:STM32CubeIDE errata 1.16.x - stm32mcu

    "When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"