IBM Support

Configuring Microsoft Visual Studio 2010 as a compiler for Rational Rhapsody 7.6

Question & Answer


Question

How do you configure Microsoft Visual Studio 2010 as a compiler for use with IBM Rational Rhapsody version 7.6?

Cause

Microsoft Visual Studio 2010 is not officially supported as an integration with Rhapsody 7.6; however, Rational Rhapsody can be configured to support Microsoft Visual Studio 2010 as a compiler which can work in parallel with Microsoft Visual Studio 2008.

Answer

    Apply the following steps to configure Rational Rhapsody to compile using Microsoft Visual Studio 2010:
    1. Download and extract the contents of the attached compressed file
      • msvc10make.bat
      • msbuild10.mak
      • siteC++_MSVC10.prp
      • siteC++.prp
    2. Verify the installation path of Visual Studio 2010 in the file 'msvc10make.bat'
      For example: C:\Program Files\Microsoft Visual Studio 10.0
    3. Set the path variable for Visual Studio 2010 from the command line (or GUI)
      For example:
      "set VS2010_PATH=C:\Program Files\Microsoft Visual Studio 10.0"
    4. Place the following files into the respective Rhapsody installation directory
      • Place msvc10make.bat in the Share\etc directory
      • Place msbuild10.mak in the Share\LangCpp directory
      • Place siteC++_MSVC10.prp in the Share\Properties directory
    5. Add following lines to the siteC++.prp file

      Note: Attached is a copy of the how the modified siteC++.prp file should look. If you do not have any extra properties that needs to be included in this file, then use the attached file instead.

      Include "siteC++_MSVC10.prp"

      Subject CPP_CG

      Metaclass Configuration

      Property Environment Enum
      "Microsoft,MicrosoftDLL,MSVC9,MSVC10,MSVC9DLL,VxWorks,VxWorks6diab,VxWorks6gnu,VxWorks6diab_RTP,VxWorks6gnu_RTP,Solaris2,Cygwin,MSStandardLibrary,MSVC9StandardLibrary,MicrosoftWinCE600,OseSfk,Linux,Solaris2GNU,QNXNeutrinoGCC,QNXNeutrinoMomentics,INTEGRITY,INTEGRITY5,IntegrityESTL,Integrity5ESTL,NucleusPLUS-PPC,WorkbenchManaged,WorkbenchManaged653,WorkbenchManaged_RTP" "Microsoft"

      end
      end
      end
    6. Launch Rational Rhapsody in C++
    7. Create a project (File > New > Project)
    8. Select the configuration environment 'MSVC10' via Features of the active configuration. (From the context menu of the configuration Features > Settings > Environment > MSVC10)
    9. Build the framework
      (Code > Build Framework)
    10. Observe the framework build log in the output window

    Once complete you can check the library files in the installation directory LangCpp\lib. The library files are preceded with "MSVC10"
    For example: C:\Program Files\IBM\Rational\Rhapsody\7.6\Share\LangCpp\lib

    Note: This document is applicable to Rhapsody for C++ and Rhapsody for C language

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


VS2010 Adapter.zipVS2010 Adapter.zip
VS2010 Adapter (zip)

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

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21511885