IBM Support

OXF members and function are not found when using IBM Rational Rhapsody Eclipse Platform Integration

Troubleshooting


Problem

OXF members and functions "could not be resolved" when using IBM Rational Rhapsody Eclipse Platform Integration

Symptom

Function 'popNullTransition' could not be resolved MemDisplay.cpp /MemTestEclipse line 65 Semantic Error
Function 'pushNullTransition' could not be resolved MemDisplay.cpp /MemTestEclipse line 49 Semantic Error
Function 'pushNullTransition' could not be resolved MemDisplay.cpp /MemTestEclipse line 69 Semantic Error
Function 'setActiveContext' could not be resolved MemDisplay.cpp /MemTestEclipse line 19 Semantic Error
Function 'startBehavior' could not be resolved MemDisplay.cpp /MemTestEclipse line 38 Semantic Error
Function 'tm' could not be resolved MemDisplay.cpp /MemTestEclipse line 63 Semantic Error
Member declaration not found MemDisplay.cpp /MemTestEclipse line 18 Semantic Error
Member declaration not found MemDisplay.cpp /MemTestEclipse line 55 Semantic Error
Symbol 'cout' could not be resolved MemDisplay.cpp /MemTestEclipse line 32 Semantic Error
Symbol 'endl' could not be resolved MemDisplay.cpp /MemTestEclipse line 32 Semantic Error
Symbol 'eventConsumed' could not be resolved MemDisplay.cpp /MemTestEclipse line 72 Semantic Error
Symbol 'eventNotConsumed' could not be resolved MemDisplay.cpp /MemTestEclipse line 56 Semantic Error
Type 'IOxfActive' could not be resolved MemDisplay.cpp /MemTestEclipse line 18 Semantic Error
Type 'IOxfReactive::TakeEventStatus' could not be resolved MemDisplay.cpp /MemTestEclipse line 55 Semantic Error
Type 'IOxfReactive::TakeEventStatus' could not be resolved MemDisplay.cpp /MemTestEclipse line 56 Semantic Error
Type 'IS_EVENT_TYPE_OF' could not be resolved MemDisplay.cpp /MemTestEclipse line 60 Semantic Error

Cause

The Eclipse Static Analyser is unable to locate the Rhapsody OXF includes.

Resolving The Problem

  1. Select the Eclipse project in the explorer. Open the Project menu > Preferences
  2. Goto C/C++ Build > Environment
  3. Ensure OMROOT path is correct. It might be required that you remove the Cygwin compatible path (cygdrive) and replace with standard windows path. For example, C:/Rhapsody8.2/Share
  4. Check the option “Replace native environment with specified one” is selected.
  5. Hit apply and update the index if prompted, otherwise
  6. Project menu > C/C++ Indexer > Rebuild

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21999794