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

DLLNotFoundException on PC build #34

Open
MisterFOnGitHub opened this issue Nov 16, 2021 · 2 comments
Open

DLLNotFoundException on PC build #34

MisterFOnGitHub opened this issue Nov 16, 2021 · 2 comments

Comments

@MisterFOnGitHub
Copy link

I created a PC Win64 project with Unity that includes your WebP encoder. The EXE runs fine on my development machine. However, I copied the build on another PC that doesn't have anything but Windows 10 installed for testing, and I get a DLLNotFoundException on libwebp.dll. Is there any specific dependency for this DLL ?

@netpyoung
Copy link
Owner

Thank you for reporting that.
I also reproduce that bug using Hyper-V( host: Windows10 - x64 ) and figured out using lucasg/Dependencies

The problem of that is missing depenency VCRUNTIME140.dll as you expected.

-deps_x64

deps_x64

  • deps_x86

deps_x86

so to fix this problem

  • copy dll to plugin's directory
    • x64: copy C:\Windows\System32\vcruntime140.dll to build_dir\Plugins\x86_64\
    • x86: copy C:\Windows\SysWOW64\vcruntime140.dll to build_dir\Plugins\x86\
  • or guide to install Visual C++ Redistributable for Visual Studio 2015hosting machine

@627514
Copy link

627514 commented May 30, 2024

I have copied the DLL to the specified Plugins and still report an error after running it
DllNotFoundException: Unable to load DLL 'webp'

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

3 participants