Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are reports that amd_ags_x64.dll isn't being copied #104

Closed
darksylinc opened this issue Jun 22, 2020 · 1 comment
Closed

There are reports that amd_ags_x64.dll isn't being copied #104

darksylinc opened this issue Jun 22, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@darksylinc
Copy link
Member

darksylinc commented Jun 22, 2020

System Information

  • Ogre Version: 2.2
  • Operating System / Platform: Windows
  • RenderSystem: D3D11
  • GPU: Any

Detailled description

See https://forums.ogre3d.org/viewtopic.php?p=548403#p548403

Users are building Ogre but it fails to run because Direct3D11 plugin fails to load. This is happening because amd_ags_x64.dll isn't being copied from the dependencies folder.

Ogre.log

 Loading library .\RenderSystem_Direct3D11
13:04:47: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .\RenderSystem_Direct3D11.  System Error: The specified module could not be found.

Workaround

Manually copy amd_ags_x64.dll to the binary folder, or build Ogre without OGRE_CONFIG_AMD_AGS

@darksylinc darksylinc added the bug Something isn't working label Jun 22, 2020
@darksylinc darksylinc self-assigned this Jun 22, 2020
@darksylinc
Copy link
Member Author

This would seem to be some sort of race condition.

Even in the CMake-GUI tool, sometimes only the SDL.dll file gets copied, sometimes both, sometimes none.

And it seems that running the configure step twice ensures the DLLs are copied. Needs more research

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant