是否可以在 Windows 机器上从 Dymola 编译 Linux 可运行的 fmus?

Is it possible to compile Linux runnable fmus from Dymola on Windows machine?

我正在尝试使用 Dymola 从 windows 机器导出一个 FMU,以便在 Linux 和 Windows OS 上使用。我想这样的 fmu 将有 linux64 和 linux32 二进制文件以及 win32 和 win64 二进制文件。但是,我不确定如何触发 Dymola 为 Linux runnable fmu 生成二进制文件(如果可能的话)。

Dymola (2020X) 安装使用 Visual Studio 2019 编译器,同时具有 'Desktop development with C++' 和 'Linux development with C++' 选项。我的假设是 'Linux development with C++' 会使 Dymola 编译 .so 文件,但我只看到 fmu 中包含的 dll。

您使用的是网络许可证还是节点锁定许可证?也许双 boot/virtual 机器可以提供帮助。

遗憾的是,您无法在一次操作中为 FMU:s 创建 Windows 和 Linux 二进制文件。不过,这是个好建议。