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

Unable to load the plugin Plugin_DotScene and Codec_Assimp #2916

Closed
dzylikecode opened this issue Aug 11, 2023 · 12 comments
Closed

Unable to load the plugin Plugin_DotScene and Codec_Assimp #2916

dzylikecode opened this issue Aug 11, 2023 · 12 comments

Comments

@dzylikecode
Copy link

microsoft/vcpkg#33111

@paroj
Copy link
Member

paroj commented Aug 11, 2023

could be an instance of #1303. Does a release build work?

If not, you should provide the actual message of the exception you get.

@dzylikecode
Copy link
Author

no, the same error occurs in the release version that the specified module could not be found (GetLastError() == 126). Plugin_DotScene and Codec_Assimp both throw the exception.

Error occurred during execution: Ogre::InternalErrorException::InternalErrorException: Could not load dynamic library C:/Users/Z/Desktop/Dz/fishing/game-3D-tutorial-env/config/../build/vcpkg_installed/x64-windows/plugins/ogre\Plugin_DotScene # can't work.  System Error: The specified module could not be found.

It works well if not using them.

@paroj
Copy link
Member

paroj commented Aug 11, 2023

its different then. Run depends (https://www.dependencywalker.com/) on the failing plugins and check whether they find their dependencies (e.g. DotScene needs pugixml)

@dzylikecode
Copy link
Author

dzylikecode commented Aug 12, 2023

DotScene can find the dependencies except the DLLs beginning with API-MS-WIN or EXT-MS-WIN which other plugins working well can't find either.

image

@paroj
Copy link
Member

paroj commented Aug 12, 2023

no idea then. But our own SDK does work? (SampleBrowser starts) https://dl.cloudsmith.io/public/ogrecave/ogre/raw/versions/v14.0.1/ogre-sdk-v14.0.1-msvc142-x64.zip

@dzylikecode
Copy link
Author

Yes, SampleBrowser starts up fine, but it seems not to contain two samples in the folder tutorial. I'm not sure whether it starts with the plugin Dot Scene

@paroj
Copy link
Member

paroj commented Aug 13, 2023

yes, the plugins are loaded. You can check the log. This is something on the vcpkg side then that they should debug.

@paroj paroj closed this as completed Aug 13, 2023
@dzylikecode
Copy link
Author

could you tell me where is the log?

@paroj
Copy link
Member

paroj commented Aug 13, 2023

Documents/OGRE Sample Browser/

@dzylikecode
Copy link
Author

I have searched for a long time but failed to find >_<

image

A wired thing is that I use the OGRE installed by Vcpkg and then set the environment variable OGRE_CONFIG_DIR=/path/to/SDK/bin. I think all will be fine because Sample Browser starts up fine with the plugin. But Codec_STBI, Plugin_DotScene, and Codec_Assimp can't work again.

@paroj
Copy link
Member

paroj commented Aug 14, 2023

its in your user Documents folder. C:\Users%USERPROFILE%\Documents or something

@dzylikecode
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants