Opened 7 years ago
Last modified 7 years ago
#4707 new defect
Wrong symbols naming in FMU import library
Reported by: | Owned by: | Lennart Ochel | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | FMI | Version: | v1.13.0-dev-nightly |
Keywords: | symbols | Cc: |
Description
The binaries/win64/<modelname>.lib import library is broken.
The symbols in the import library (.lib) do not match those in the shared library (.dll).
In the .dll: fmi2Instantiate
In the .lib: <modelname>_fmiInstantiate
Recompiling from FMU sources with adding '--output-def=<modelname>.def' as I suggested https://trac.openmodelica.org/OpenModelica/ticket/4706 to the compiler flags solves the problem.
Note:
See TracTickets
for help on using tickets.
Sorry, forgot a piece: it must be '-Wl,--output-def=<modelname>.def'