alecthomas / alecthomas/entityx

Shared library not working in Windows

Offen
#246 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
2.3k
Forks
301
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.