Technote (troubleshooting)
Problem(Abstract)
Attempts to integrate IBM Rational Rhapsody Architect for Software edition and Microsoft Visual Studio result in a link error.
Symptom
When you build a project in Visual Studio which is created in Rational Rhapsody Architect for Software edition, the link error regarding OXF library occurs.
Expected result:
-
Rational Rhapsody products does not get redundant library information in the case of Rational Rhapsody Architect for Software edition.
Actual result:
-
Rational Rhapsody Architect for Software edition gets library information as well as Rhapsody Developer edition.
Cause
Code generation from Rational Rhapsody Architect for Software edition and synchronization from Visual Studio add libraries (such as. MSVC9oxf.lib, winmm.lib and wsock32.lib) to the project properties of Visual Studio as the additional dependency of linker. This information could cause link error when Visual Studio project is shared with other developers because Rational Rhapsody Architect for Software edition installation path is different in each environment.
Diagnosing the problem
Confirm link information is existing in Visual Studio.
- Click Project > Properties
- Select Configuration Properties > Linker > Input
- Click Edit link in Additional Dependencies
Resolving the problem
Rhapsody Architect for Software edition does not support Rhapsody frameworks and animation feature; therefore, you must remove redundant library information from the following properties in Rhapsody Architect for Software edition as appropriate to solve issue:
CPP_CG::MSVC::NoneOxfLibs
CPP_CG::MSVC::SockLib
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.