Menu

Broken Model Link when Attempting to Generate C Code

Clay Sikes
2024-08-14
2024-08-14
  • Clay Sikes

    Clay Sikes - 2024-08-14

    Hi,

    I'm adding an active object to my QM model using QM version 5.1.1. When I attempt to generate C code, I'm getting errors during code generation. The Log Console displays something like:
    ERROR F001> ${../src/qm_code::someFile.h}#289 broken model link in file :

    Given that this is calling out an error in the .h file, I would suspect a something wrong in a file template. I'm assuming that #289 is a line number, but I'm not seeing anything.

    Are there any tips on how to debug this sort of issue?

    Thanks,
    Clay Sikes

     
  • Quantum Leaps

    Quantum Leaps - 2024-08-14

    Hi Clay,
    Thank you for reporting, but you're using an older QM version. If you just look at the QM revision history of your version 5.1.1 and scroll up just a little bit, you'll see that the issue has been fixed in QM version 5.1.4 (bug#307).

    Any chance that you can just use a newer (preferably the latest) QM?

    --MMS

     
  • Clay Sikes

    Clay Sikes - 2024-08-14

    Thanks Miro. I'll see if we can update.

     

Log in to post a comment.