IBM Support

Execution of Project executables in Rational Rhapsody Cygwin environment fails

Troubleshooting


Problem

Attempts to execute the project executables in IBM Rational Rhapsody Cygwin environment fails without any errors.

Cause

This is mainly due to the non-existence of the file cygwinrun.bat in the <Install_Directory>/Rhapsody/Share/etc directory.

This happens if you have not selected Cygwin as your compiler during the Rational Rhapsody installation.

Resolving The Problem

You can solve the problem by applying one of the Solutions below:

Solution 1:

  1. Reinstall Rational Rhapsody

  2. Make sure to select the Cygwin Development Environment

  3. Provide the path to the Cygwin installation directory.

Solution 2: Create the file cygwinrun.bat by applying the steps below:

  1. Navigate to the location <Install_Directory>/Rhapsody/Share/etc

  2. Create a notepad file and enter the below script:


    @echo off
    PATH=C:\cygwin\bin;%PATH%
    %1


    Note: Ensure the path to the Cygwin installation directory is correct

  3. Save the file as a batch file type and assign the name cygwinrun.bat

  4. Copy the path of the cygwin installation directory and set it to the windows environment Path variable

  5. Launch Rational Rhapsody Developer in C++

  6. Open a sample cpp project, select Cygwin as the environment to the active configuration settings and click OK

  7. Select Code > Build framework. (This will generate framework related libraries to the Share/langCpp directory)

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

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21448008