How to build a static MSVC library of wimlib?
How to build a static MSVC library of wimlib?
My MSVC project need a static version of wimlib, but the official binary only contains the import library of libwim-15.dll. And the are no way (like CMake or Makefile for nmake) to build it.
-
- Site Admin
- Posts: 474
- Joined: Sun Aug 02, 2015 10:31 pm
Re: How to build a static MSVC library of wimlib?
Building wimlib with MSVC is not supported.
Re: How to build a static MSVC library of wimlib?
It seems that wimlib used too many GCC and CLANG specific functions, macros and stuff like typeof() and __attribute__.
A port to MSVC should replace these stuff to MSVC specific alternatives, which is theoretically possible but requires a lot of work.
It seems that alignment is broken on msvc. Will make a push request once it is fixed.
Seems that capturing files from the Windows folder is broken on MSVC build.
EDIT: Fixed https://github.com/gailium119/wimlib
A port to MSVC should replace these stuff to MSVC specific alternatives, which is theoretically possible but requires a lot of work.
It seems that alignment is broken on msvc. Will make a push request once it is fixed.
Seems that capturing files from the Windows folder is broken on MSVC build.
EDIT: Fixed https://github.com/gailium119/wimlib