Question & Answer
Question
Why do I receive the compiler error: 'cannot open program database (pdb)'?
Answer
I'm getting the following compiler error when building my component:
-------- Building ------------
...
fatal error C1033: cannot open program database 'C:/AnyFolder/AnyComponent.pdb'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Build Done
+++++++++++++++++++
This problem can be caused by either of the following scenarios:
1. Compiling the same program twice (at the same time). The .pdb will be locked if this is the case.
2. Compiling while the program is currently being debugged (debugging requires the pdb).
If neither of these is occurring, please consult the support site for your specific compiler.
1596 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
10526
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21323784