IBM Support

How to eliminate the include dependency to Ric.h in the code of a Rational Rhapsody Developer for C project

Question & Answer


Question

How do you eliminate the include dependency to Ric.h in the code of an IBM Rational Rhapsody Developer for C project?

Cause

The Ric.h file defines certain tracer and animation symbols and includes the remaining C framework files, which provide predefined behaviors for real-time constructs such as events, event and message queues, tasks and timers.

The non-usage of these Rational Rhapsody functions in the project makes it advisable to eliminate the dependency

Answer

In a Rational Rhapsody Developer for C project, it is possible to eliminate the include dependency to Ric.h by applying the steps below:

  1. Load the desired project in Rational Rhapsody

  2. Navigate to the project active Configuration

  3. Right click on Configuration > Features and select the Properties tab

  4. Locate the property C_CG::Framework::HeaderFile and remove the default value of oxf/Ric.h

  5. Click OK


Note: Setting the value of the above said property at the project configuration level shall impact all model elements under the scope of the component.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Rational Rhapsody Developer","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6.1.2;7.6.1.1;7.6.1;7.6.0.1;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21606013