Skip to content

File already exists in database (Windows) #87

Description

@sebastian-wolter-itk

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)
grafik
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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationEverything which impacts the quality of the documentation and guidelines.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions