Do I need an external compiler for MapleSim 2017.3?
Previously, the Microsoft Visual C++ Compiler was required for MapleSim on Windows, and the GNU Compiler Collection (GCC) on Macintosh and Linux, but these are now only required in a couple of cases:
- Exporting a FMU with the FMI Connector.
- Using the Simulink Component Block Generation app with the "Generate and Compile S-Function" option.
The reason an external compiler is required for the above cases is because the LLVM Compiler cannot be used to create externally linkable .dll’s (a limitation of the compiler). Instead, the LLVM Compiler creates the shared library in memory and never actually writes out a .dll.
External Compiler required:
Windows: Microsoft Visual C++ 2015 (Installation Instructions)
Macintosh/Linux: GCC (GNU Compiler Collection)
Did you find this article helpful?