COMPILER SETUP FOR CATIA DYMOLA BEHAVIOR MODELING

SystemsEngineering Tips&Tricks CATIADBM 

PREVIOUS POST IN THIS SERIES

 


WHY DO YOU NEED A COMPILER?

To translate models in CATIA Dymola Behavior Modeling you must install a supported C compiler. The C compiler is not distributed with CATIA Dymola Behavior Modeling. The C compiler needs to be installed only once, even if you install multiple versions of CATIA Dymola Behavior Modeling.

**You can use any of the below compilers

 VISUAL STUDIO FREE EDITIONS

  • Visual Studio 2012 Express Edition (11.0)
  • Visual Studio 2013 Express for Windows Desktop Edition (12.0)
  • Visual Studio 2015 Express Edition for Windows Desktop (14.0)
  • Visual Studio 2017 Community Edition (15)
  • Visual Studio 2017 Express Edition for Windows Desktop (15) - Note that this compiler only support compiling to Windows 32-bit executables.
  • Microsoft Build Tools 2017. Notes:
    • The minimum required selection to run CATIA Dymola Behavior Modeling is:
      • VC++ 2017 version highest listed latest version-number tools
      • C++/CLI support
    • Installing the above selection, no IDE (Integrated Development Environment) is installed, only command line features
    • This installation is not visible as a specific selection when later selecting the compiler in CATIA Dymola Behavior Modeling, the alternative to select is the same as for any other Visual Studio 2017 alternatives.
  • Visual Studio 2019 Community (16)
  • Microsoft Build Tools 2019 (see instructions on Installing and Testing Microsoft Build Tools).

Rights to use Visual Studio Community depend on the customer segment and usage scenarios; please check on Microsoft web site.


VISUAL STUDIO PROFESSIONAL EDITIONS

  • Visual Studio 2012 (11.0)
  • Visual Studio 2013 (12.0)
  • Visual Studio 2015 (14.0)
  • Visual Studio Professional 2017 (VS 15)
  • Visual Studio Enterprise 2017 (VS 15)
  • Visual Studio Professional 2019 (VS 16)
  • Visual Studio Enterprise 2019 (VS 16)

    Example of C Compiler Path -
    C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Auxiliary\\Build

 INTEL COMPILER

  • Intel Parallel Studio XE 2016
  • Intel Parallel Studio XE 2017
  • Intel Parallel Studio XE 2018

Note – the Intel compiler also demands a Visual Studio compiler, and has some limitations; Click here for more details and find below the download link.

Important: the support for Intel compilers will be discontinued in a future release.

 GCC COMPILER

The following compilers have been tested (later versions are usually compatible):

  • 32-bit MinGW, GCC version 5.3, 6.3, 8.2
  • 64-bit MinGW, GCC version 5.3, 7.3, 8.1

Note – the GCC compilers have some limitations, and demand for add-ons during installation etc. Click here for more details and find below the download link.

COMPILER TESTING

https://www.youtube.com/watch?v=Ar4xzWwq6ag&feature=youtu.be

Some potential problems can be found by pressing the Test Compiler button. A small Modelica program is compiled and executed to test the compiler, both for 32 and 64 bit CATIA Dymola Behavior Modeling executables. Messages will be displayed on success or failure.

Any warning messages indicate problems that need to be resolved before translating a model. Error messages with information on how to proceed (including a link to a web page) will be displayed, e.g. when no compiler has been selected.

NEXT POST IN THIS SERIES

https://r1132100503382-eu1-3dswym.3dexperience.3ds.com/#community:AH6Out1lTB2kjqDkm0S-Qg/post:7EaWCyMVQHWmNsVOjPwHXg


Community Knowledge ​​​​​​​Edu ​​​​​​​