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

Fix for Windows crash (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND) #119

Open
wrightwriter opened this issue Nov 6, 2022 · 2 comments
Open

Comments

@wrightwriter
Copy link

wrightwriter commented Nov 6, 2022

Windows 10, ffmpeg 5.0.1 and ffmpeg 5.1.3.
Followed the instructions exactly, downloaded full shared build from https://www.gyan.dev/ffmpeg/builds/.
Set environment variables, restarted PC.

FIX:

The fix was to copy all dll files from ffmpeg to the root rust directory.

PROPOSAL:

Include a fix for this in the build instructions. I don't know how it's done.

@wrightwriter wrightwriter changed the title Windows build crashes with (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND) Fix for Windows crash (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND) Nov 7, 2022
@so1ve
Copy link

so1ve commented Feb 3, 2023

gosh. . . I'm using it with Tauri and you solved my problem! ! ! Thanks! ! !

@samuelkuz
Copy link

I'm new to Rust, and I'm working on a small project to capture my Windows desktop. I've stumbled upon this crate for encoding my bgr8 pixel bitmap I get from Windows. I was running into this same issue so I want to run through the steps I did in-case any noobies like myself run into the issue.

  1. Follow the installation on the wiki
  2. Copy the .dll files in the ffmpeg/bin/ directory to the .cargo/bin/ directory
  3. Rebuild/Run your project and hope it now works :)

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