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
- Select the Eclipse project in the explorer. Open the Project menu > Preferences
- Goto C/C++ Build > Environment
- 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
- Check the option “Replace native environment with specified one” is selected.
- Hit apply and update the index if prompted, otherwise
- Project menu > C/C++ Indexer > Rebuild
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21999794