I am trying to get startet with conan and am following this tutorial:
https://docs.conan.io/2/tutorial/consuming_packages/build_simple_cmake_project.html
Everything seemed to work well, zlib was installed and the program was built succesfully, but when I try to run the compressor.exe I get the error "zlib1.dll not found". How do I fix this/what is going wrong here?
I am running on Windows 10 with Visual Studio.
I found the problem. The zlib1.dll file is copied into the same folder as the executable, but whenever I try to run the program through Visual Studio, Visual Studio seems to delete the dll file before the program is executed.
The next question would be why? And how do I stop Visual Studio from doing that?
Edit: I'll just use VSCode from now on, from there everything seems to work better