Troubleshooting
Problem
Using Cygwin to compile IBM Rational Rhapsody project results in error: "Share/LangCpp/osconfig/Cygwin/omosconfig.h:35:22: fatal error: ansidecl.h: No such file or directory. compilation terminated. ".
Symptom
Error seen:
"Share/LangCpp/osconfig/Cygwin/omosconfig.h:35:22: fatal error: ansidecl.h: No such file or directory. compilation terminated. ".
Cause
The Cygwin environment has either become corrupted or is not configured correctly.
Resolving The Problem
Check the <CYGWIN>\usr\include folder for the presence of the "ansidecl.h" file and follow the instructions below.
- The header file "ansidecl,h" should be located in the <CYGWIN>\usr\include folder. If it is missing then the Cygwin installation has not been installed correctly or has become corrupt. In which case you must reinstall the dev and binutils sections of the Cygwin environment.
- However, if the "ansidecl.h" file is present in the <CYGWIN>\usr\include folder, then you must make sure the <CYGWIN>\bin is added to the system environment variable "PATH". For example C:\Cygwin\bin.
Make sure that the entry is first in the environment variable. You will need to restart Rhapsody afterwards.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Integrations - 3rd Party","Platform":[{"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","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21986633