Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Embedded Software

Embedded Software

Topics related to SCADE Suite, SCADE Display, SCADE One and more.

Missing file in compilation

    • Luz Paulina Aguilar
      Subscriber

      Compilation of the generated code for a SCADE Suite model fails due to missing kcg_assign.h file.  Why is this file not generated?

    • Benjamin Descorps
      Ansys Employee

      Hello,

      For instance, the kcg assign macro must be provided by the end-user either through the user cong mechanism or through a kcg assign.h file. This is why it is not generated automatically by KCG.
       
      The user shall provide her/his kcg_assign.h file containing the definition of the kcg_assign macro. An example of the kcg_assign.h file is available in the SCADE installation repository (used for Simulation purpose):
       
      #ifndef kcg_assign
      #include "string.h"
      #define kcg_assign(kcg_C1, kcg_C2, kcg_size) (memcpy((kcg_C1), (kcg_C2), (kcg_size)))
      #endif /* kcg_assign */
       
      Benjamin
Viewing 1 reply thread
  • The topic ‘Missing file in compilation’ is closed to new replies.
[bingo_chatbox]