CombinatorC
CombinatorC copied to clipboard
[Windows] zlib1.dll missing dependency
Using Windows 11 calling combc-windows.exe from console as .\combc-windows.exe input.txt
does not produce a result. Opening combc-windows.exe using file manager results in system error popup.
Release version 0.1.9
Title: combc-windows.exe - System Error
Description: The code execution cannot proceed because zlib1.dll was not found. Reinstalling the program may fix the problem.
To resolve the problem I've downloaded zlib1.dll in version 2.2.10.0 for x86_64 architecture (available for example here https://www.dll-files.com/zlib1.dll.html )
Downloaded *.dll file should be copied to C:\Windows\System32
Opening combc-windows.exe from file manager does not create an error poput and no result (as it should) Calling executable from console with example input correctly prints the result.
Ah yeah thanks for the heads-up. I think I'll create a Windows installer that will automatically install the dll, in the meantime I'll add this info to the README.
You should be able to just include the dll from the build system, and put it next to the binary, and zip it up for now (this is common in open source projects), Windows searches for dll's in the binaries path, zlib seems to be a hard dep for open source build chains on windows (i.e. using msys64), so I would recommend against putting zlib in System32 as it could break other software.
P.S. I love the idea of this project, and admire the dedication.