L PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
last updated: 2024-10-29 |
---|
Important notice: all the following instructions require using the most recent versions of the compiler (i.e. gcc 14.2.0). In order to check the actual version you are using, you simply have to execute the following command: gcc --version |
---|
Very important noticeThe standard configuration adopted by MinGW64 forbids to effectively link libpthread as a static library.You are required to manually apply the following small patch in order to avoid this issue.
|
WarningIn order to support hi-speed image compression and decompression some parts of jpeg-turbo require to be compiled by the NASM Assembler.If the Assembler is not installed when building you'll still get a functioning library but operating at a lower speed. So, if you haven't already installed the NASM Assembler, you just have to execute now the following command on the MSYS2 shell: pacman -S nasm |
Very important notice: recent versions of this library has no build scripts. Just a Makefile is supplied, but unhappily it's only intended for Linux and is absolutely useless for MinGW on Windows. Resolving this issue isn't difficult at all: you are simply required to download Makefile-giflib-mingw64 saving it into the main directory of giflib. |
Note: there is a circular dependency between libtiff and libwebp
Let's start the first pass. |
It's now time to start the second pass required by the circular dependency.
|
Configured wxWidgets 3.2.6 for `x86_64-w64-mingw32' Which GUI toolkit should wxWidgets use? msw Should wxWidgets be compiled into single library? yes Should wxWidgets be linked as a shared library? no Should wxWidgets be compiled in Unicode mode? yes (using wchar_t) What level of wxWidgets compatibility should be enabled? wxWidgets 2.8 no wxWidgets 3.0 yes Which libraries should wxWidgets use? STL no jpeg sys png sys regex no tiff sys lzma sys zlib sys expat sys libmspack no sdl no |
Line 19174: replace -D_FORTIFY_SOURCE=2 as: -D_FORTIFY_SOURCE=0 |
near line 94: ---------------------------------------- |
#define OPJ_API #define OPJ_LOCAL #endif #define OPJ_CALLCONV < #else < #define OPJ_CALLCONV __stdcall > #else > #if defined (__MINGW32__) > #define OPJ_CALLCONV > #else > #define OPJ_CALLCONV __stdcall > #endif |
near line 110: ---------------------------------------- |
#if defined(OPJ_EXPORTS) || defined(DLL_EXPORT) #define OPJ_API __declspec(dllexport) #else < #define OPJ_API __declspec(dllimport) > #if defined (__MINGW32__) > #define OPJ_API extern > #else > #define OPJ_API __declspec(dllimport) > #endif /* MinGW64 */ |
Line 55: replace # FOSSIL_ENABLE_SSL = 1 as: FOSSIL_ENABLE_SSL = 1 |
Line 81: replace ZINCDIR = $(SRCDIR)/../zlib-1.2.6 as: ZINCDIR = /mingw64/local/include |
Line 82: replace ZLIBDIR = $(SRCDIR)/../zlib-1.2.6 as: ZLIBDIR = /mingw64/local/lib |
Line 89: replace OPENSSLINCDIR = $(SRCDIR)/../openssl-1.0.0g/include as: OPENSSLINCDIR = /mingw64/local/include |
Line 90: replace OPENSSLLIBDIR = $(SRCDIR)/../openssl-1.0.0g as: OPENSSLLIBDIR = /mingw64/local/lib |
Line 661,662: delete both lines zlib: $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc libz.a |
Line 663: delete zlib at the end of the line. |
last updated: 2024-10-29 |
---|