IBM Support

I get the error message "CG ERROR: External code generator was not created" using Rhapsody in Ada.

Question & Answer


Question

I get the error message "CG ERROR: External code generator was not created" using Rhapsody in Ada.

Answer

This usually means that the OMROOT variable is not being registered correctly. You may have multiple rhapsody.ini files and
Rhapsody could be reading from a version of the file where the path specified by OMROOT no longer exists, so check which
version of  the rhapsody.ini file you are trying to load (located in either the windows directory, the Rhapsody install directory, or
both).
 
Also, check your OMROOT as set in the Windows environment variables and confirm that it points to the Rhapsody\Share
directory (e.g. C:\Rhapsody\Share).
435 AnswerProduct versionPartner ContentInternal ContentCategoryReference ID

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10320

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323634