Cannot build wimlib with Cygwin (on Windows)

Comments, questions, bug reports, etc.
Post Reply
zipmagic
Posts: 61
Joined: Thu Aug 06, 2015 7:09 am

Cannot build wimlib with Cygwin (on Windows)

Post 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.
Attachments
Windows 10 21H1 x64 UEFI-2021-06-28-02-38-00.png
Windows 10 21H1 x64 UEFI-2021-06-28-02-38-00.png (93.58 KiB) Viewed 3854 times
Windows 10 21H1 x64 UEFI-2021-06-28-02-22-23.png
Windows 10 21H1 x64 UEFI-2021-06-28-02-22-23.png (232.85 KiB) Viewed 3854 times
Windows 10 21H1 x64 UEFI-2021-06-28-02-16-01.png
Windows 10 21H1 x64 UEFI-2021-06-28-02-16-01.png (232.83 KiB) Viewed 3854 times
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Cannot build wimlib with Cygwin (on Windows)

Post 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.
Post Reply