-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi, i'm currently trying to use a packed OSI-Sensor Model as FMU (DummySensor) and execute it via C++ (via FMI4CPP or FMI++) and deserialize (in the same application) under Windows:
It seems that there is an issue, if same protobuf-compiled code (=OSI Library) is shared between applications/dll
- Main Application: links to open_simulation_interface.dll
- Sensor Model FMU: also links to open_simulation_interface.dll
(if i do not include osi headers, it works)
Also splitting the deserialization part into a seperate DLL does not solve the problem.
seems to be related to: https://stackoverflow.com/questions/37051635/several-shared-object-using-same-proto-leading-the-the-error-file-already-exist
(but did not solve the problem)
Is anyone also experience that kind of problem in C++ Environment?
Shouldn't it be a normal use case in a testing environment e.g. to have a multiple FMU running, e.g. one produces SensorData and one consumes SensorData?