IBM Support

PI39920: Linker error when building Simulink project for IBM Rational Rhapsody

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • When you attempt to build a Simulink project in Rhapsody for
    Visual Studio 2012, the project will fail to compile.
    
    SYMPTOM
    
    When you attempt to build a Simulink project in Rhapsody for
    Visual Studio 2012, it results in the project failing to
    compile.
    
    Results:
    
    The project fails to compile.
    
    Steps to Reproduce:
    
    1. Open a Simulink project in Rhapsody.
    2. Attempt to build it for Microsoft Visual Studio 2012.
    
    WORKAROUND
    
    1. Go to OMROOT\etc\S-FunctionTemplates\C++, and
    OMROOT\etc\S-FunctionTemplates\C
    2. Open the 'build_sfunction_tmpl.m' and the
    'build_sfunction_tmpl_anim.m' in a simple text editor.
    3. Change the '-D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH' statement
    to  'COMPFLAGS='$COMPFLAGS /MDd''
    4. Save the files.
    5. Recreate the Simulink model via Rhapsody.
    
    Now they will compile correctly, although a warning might be
    displayed about overridding /Md with /MDd, which you can safely
    ignore.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of version 8.1.2.                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Linker error when building Simulink project for IBM Rational *
    * Rhapsody                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI39920

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-27

  • Closed date

    2015-06-26

  • Last modified date

    2015-06-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R813 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.2

Reference #: PI39920

Modified date: 26 June 2015