FR 1237


FR Number


Problem Description


1237


Change of Inclusion Directory path does not regenerate external dependencies.


Full Description

When a Configuration specifies an external include file and a corresponding directory, and if the include file is: moved to a new directory and that directory is then added to the Configuration, compilation for the model will fail with a make error.

An example of the error is:

  • gmake[1]: *** No rule to make target `/files/INC/External_Include.h'.
  • gmake[1]: Failed to remake makefile `Actor1_Actor.dep'.
  • gmake[1]: Failed to remake makefile `RTSystem.dep'.
  • gmake[1]: Target `COMPILE.NOW' not remade because of errors.

    The preferred workaround is to copy the file instead of moving it. If this is not suitable, then a full recompilation of the model will correct it.