外部库Modelica_DeviceDrivers仿真出错
一般问题
发布于 2025-07-22 14:35:22
查看 12过去341天
你好,使用外部库Modelica_DeviceDrivers连接到串口,运行例程时仿真报错
D:/MWORKS.Sysplorer 2024b ST/Sysplorer 2024b/Simulator/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.4/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrt
collect2.exe: error: ld returned 1 exit status
Linking the model (gcc) failed.
好像是windows环境没有lrt库,该怎么解决
所属专栏:Syslab基础平台
产品信息:Sysplorer系统建模仿真环境