Closed AHaumer closed 7 months ago
Can you share the FMU?
No problem. I tried it with different FMUs, this one is an example from MSL. I had to pack the fmu additionally into a zip. IMC_DOL.zip
inttypes.h
was added with C99
. Does your compiler support it?
Windows 11 64 bit: Visual Studio 2022 Linux Mint 21.3 64 bit: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
@t-sommer no idea? I have to prepare the FMUs for the new semester.
Sorry for bothering: The gcc-installation on my Linux (on a VM) was faulty. After a reinstallation the compilation works fine!
Linux Mint 21.3 on VirtualBox 7.0.14 on Windows 11 Anaconda3-2023.09-0-Linux-x86_64 (Python 3.11) FMPy 0.3.19 fmpy compile MyModel.fmu fatal error: inttypes.h: No such file or directory Simulating a fmu cross-compiled with Dymola and WSL on Windows works fine.