Skip to content

[Windows Ninja Clang/LLVM] Failed to load GetEngineFactoryXXX function from GraphicsEngineXXX_64d.dll library #350

Description

@LeSnow-Ye

Platform: Windows 11

The whole project is basically the same as Samples/GLFWDemo, but linked to DiligentEngine using add_subdirectory.

A: Using Ninja + Clang/LLVM toolchain:

  • Vulkan: Successfully built. Failed to run:
    • Failed to load GetEngineFactoryVk function from GraphicsEngineVk_64d.dll library
    • at IEngineFactoryVk* pFactoryVk = LoadAndGetEngineFactoryVk();
  • OpenGL: Successfully built. Failed to run:
    • Failed to load GetEngineFactoryOpenGL function from GraphicsEngineOpenGL_64d.dll library
    • at IEngineFactoryOpenGL* pFactoryOpenGL = LoadAndGetEngineFactoryOpenGL();
  • DX11/DX12: Successfully built. Runs well.

B: Using Visual Studio 17 2022 + MSVC:

  • All: Successfully built. Runs well.

Copy GraphicsEngineXXX_64d.dll from B into A: Runs well.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions