I want to ask some question about openCV samples

vici
Mon, 25 Aug 2025 16:01:17 +0000
C++

I downloaded the OpenCV source code and used CMake-GUI to configure various project properties to generate a VS2022 project. When generating the solution, I also included the OpenCV examples, and the compilation passed smoothly without any issues. However, when I tried to run the examples, a prompt appeared saying that “libpng16.dll is missing”. I noticed in the project that the third-party library libpng was built as a static library, so why am I still getting this prompt about the missing libpng16.dll? And where can I find this file?

3 posts - 2 participants