Visual Studio application using glfw, freetype, and ffmpeg needs bz2.dll to start

John Jacko 21 Reputation points
2022-09-21T01:59:04.92+00:00

I'm trying to run a Program I'm writing that uses various technologies such as glfw, ffmpeg, freetype 2.0, glew and compiles with Visual C++. Operating System is Windows 10, IDE is Visual Studio 2022.

I'm able to compile it. However, I'm unable to get it to run on the grounds that it needs zlib1.dll in order to run. Right now, I'm focused on the 64-bit version of the Program.

I've tried installing "Microsoft Visual C++ redistributable 2015-2019".

Is there a place where I can get a legitimate copy of the DLL (was bz2.dll used by MS and then removed at some point)?

If not, is there a way to figure out which dependency of mine uses bz2.dll as a dependency? I know of dumpbin /dependents (PE file here) but it only lists the immediate dependencies and the tree can get pretty long.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,524 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,923 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. John Jacko 21 Reputation points
    2022-09-21T03:07:42.577+00:00

    Psuedo-Answer to my question. I was not able to find a valid version of bz2.dll. However, I discovered that my previous FreeType Dependency was the dependency requesting the bz2.dll. I was able to download a separate version of FreeType that I was able to compile. I was able to integrate this new version into my project and my Program began running.

    0 comments No comments