Skip to content

Build DLL with the same STL library as Unreal #27

@ryan-motive

Description

@ryan-motive

I'm trying to understand some issues I'm seeing using STL types in a dll built with UE4CMake. I know that in general it's not recommended to use STL types with a DLL, but I assumed that UE4CMake would remedy this by making sure the toolchain, compilers, etc. were all aligned. However I'm finding that the DLL and code in Unreal have very different ideas of how the STL types are laid out.

Is this caused by the DLL pointing at a different library or would this be another issue like the 4-byte packing issue? I can just bring the whole project into my Plugins folder, but I'm hoping to keep this library somewhat separate.

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