Opened 6 years ago
Closed 6 years ago
#5305 closed defect (fixed)
ModelicaIO lib is missing in SimCode makefileParams.libs for msvc simCodeTarget
Reported by: | Niklas Worschech | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | Backend | Version: | |
Keywords: | Cc: |
Description
For the following model
model ModelicaIOModel Modelica.Blocks.Tables.CombiTable1D combiTable1D(table=[1,2; 2,3]); Modelica.Blocks.Sources.Sine sine; equation connect(sine.y, combiTable1D.u[1]); end ModelicaIOModel;
the Modelica external C lib ModelicaIO is not linked and the linker error:
error LNK2019: unresolved external symbol _ModelicaIO_readRealTable referenced in function _readTable
occurs for Visual Studio
This is because in SimCode makefilePrams.libs the ModelicaIO string is not included.
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed with PR: https://github.com/OpenModelica/OMCompiler/pull/2934