Page 1 of 1

Cannot build wimlib with Cygwin (on Windows)

Posted: Mon Jun 28, 2021 9:44 pm
by zipmagic
I have been trying to follow the instructions here to build a custom version of wimlib:

https://wimlib.net/git/?p=wimlib;a=blob ... =HEAD#l106

But a bunch of compiler errors stall both x86 and x64 builds, regardless of whether I am using the "merged" build approach, or the build approach which requires additional side-by-side DLLs (although the errors are different in each case, they are the same for each bitness build).

Is any documentation available on compatible versions of required Cygwin dependencies, in case these may be causing the problem? I've attached the four (edit: three due to attachment limit) screenshots that I got on my clean machine with nothing else installed by just Cygwin and the mentioned dependencies.

Re: Cannot build wimlib with Cygwin (on Windows)

Posted: Tue Jun 29, 2021 7:59 am
by synchronicity
Yes, some recent updates to MinGW seem to have broken things. I've made some changes that should fix things. Can you try the latest master branch in git? It sounds like you've cloned the git repository, so you'll just need to run 'git pull && rm config.log' before retrying the make-windows-release script.