We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Embedded Software Missing file in compilation Reply To: Missing file in compilation

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