IBM Support

Error "fatal error C1083: Cannot open compiler generated file: 'OMDefaultMulticastOutBound.obj': Permission denied NMAKE" in IBM Rational Rhapsody

Question & Answer


Question

When I rebuild the framework in Rational Rhapsody why do I keep getting the "fatal error C1083: Cannot open compiler generated file: 'OMDefaultMulticastOutBound.obj': Permission denied NMAKE" error?

Cause

The build framework error below occurs because you don't have the rights to write/create file on the folder mentioned in the error, for example: C:\Program Files\IBM\Rational\Rhapsody\7.5.1\Share\LangCpp\oxf.

The entire error message looks like:


OMDefaultOutBound.cpp
OMDefaultReactivePort.cpp
OMDefaultMulticastOutBound.cpp
Generating Code...
C:\Program Files\IBM\Rational\Rhapsody\7.5.1\Share\LangCpp\oxf\OMDefaultMulticastOutBound.cpp : fatal error C1083: Cannot open compiler generated file: 'OMDefaultMulticastOutBound.obj': Permission denied NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.

Build Done


Answer

Ensure that you (the user that is running Rhapsody) have rights (update. write, read, modify and delete) to the Program files folder.

There are some organizations that prevent users from accessing the root drive (C: Drive) as well as the C:\Program Files folder. This will cause all sorts of issues because IBM Rational Rhapsody needs to be able to read, write, modify and write to the location where you install Rational Rhapsody.

If the problem persists then please contact IBM Rational Client Support (1-800-IBM-SERV), as it may be related to other factors and will need further investigation.

[{"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.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21430040