+
Skip to content

Shared library not working in Windows #246

@memsharded

Description

@memsharded

EntityX is in ConanCenter: https://conan.io/center/entityx

But the shared library build has been removed for Windows: https://github.com/conan-io/conan-center-index/blob/ff8bf5423a93bd972099a16f2a7b2646d53b7f69/recipes/entityx/all/conanfile.py#L52

Removing those lines, the output shows as the result of CMake install:

-- Install configuration: "Release"
  -- Installing: C:/.../lib/pkgconfig/entityx.pc
  -- Installing: C:/.../include/entityx
  -- Installing: C:/.../include/entityx/deps
  -- Installing: C:/.../include/entityx/deps/Dependencies.h
...
  -- Installing: C:/.../include/entityx/System.h
  -- Installing: C:/.../include/entityx/tags
  -- Installing: C:/.../include/entityx/tags/TagsComponent.h
  -- Installing: C:/.../bin/entityx.dll

Further inspection shows that the .lib static library is not being created at all. The ENTITYX_BUILD_SHARED is being defined.

Is this intended behavior? I can see that shared libraries are working fine in other platforms, is shared .dll library support for Windows? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载