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:2 by Adrian Pop, 6 years ago

Milestone: Future1.14.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.