Skip to content

Problem with shared static variable between dll #6550

@JacqKrol

Description

@JacqKrol

I installed the lib gtkmm and run asample program from the manual (base.cc). A run-time error occurred because the dll pangomm called the function wrap_register from glibmm which has a static variable wrap_func_table but because pangomm has its own copy not initialized a run-time error occurs when this variable is referenced in wrap_register.

How can I solve this problem ? I hoped vcpkg would solve these kind of linking issues automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-bugThe issue is with a library, which is something the port should already support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions