IBM Support

Building models in Rational Rhapsody results in "Cannot open file msvcirtd.lib" error

Troubleshooting


Problem

Attempts to build a model in IBM Rational Rhapsody result in "Cannot open file msvcirtd.lib" when using Microsoft Visual Studio 2005.

Symptom

You get the following error:

"LINK: fatal error LNK1104: Cannot open file msvcirtd.lib"

image


Cause

msvcirtd.lib is the import library for msvcirtd.dll, which is a ideally a part of Microsoft VC6 installation and not a part of Microsoft Visual Studio 2005.

However, if due to the linker settings in your environment it may be attempting to link to msvcirtd.lib directly in some way but is unable to find it you may receive the error

Resolving The Problem

In order to resolve the above reported problem you can apply the steps below:

  1. Navigate to the <Microsoft VC6_Install Directory>\lib directory [on a system where you have it installed]

  2. Copy the file msvcirtd.lib

  3. Navigate to the <Microsoft VisualStudio2005_Install Directory>\lib directory [on the system where you notice the reported problem]

  4. Paste the file msvcirtd.lib


Once done trying building the code in Rational Rhapsody and you should not receive the error

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1;7.6.1.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21589234