failed to start application built with MSVC and get an error saying zlibd1.dll was not found

• Jan 12, 2022 - 04:12

I am building V4.x in latest version of master branch with MSVC following the instruction page:
https://musescore.org/en/handbook/developers-handbook/compilation/compi…
Everything goes well until I try to start the application.
Visual studio gives this error: The code execution cannot process because zlibd1.dll was not found. Reinstalling the program may fix this problem.
My interpretation is zlibd1.dll is not supposed to included. Since we link zlibstat.lib instead of it.
So is that an issue? And how can I deal with it?
Thank you!

Attachment Size
0afe3a0a828dc542ae1f62480c6f4c8.png 17.44 KB

Comments

Solved. Seems like some of packages are linked to my external vcpkg on my pc. I removed the path of the external vcpkg from ${PATH} and the problem is solved.

Do you still have an unanswered question? Please log in first to post your question.