Building avxsynth
Note: Optional
WINDOWS under MinGW
Launch MinGW the usual way as if you are going to build FFMPEG.
You are gonna need log4cpp: http://log4cpp.sourceforge.net/
log4cpp needs pkg-config:
You need to pull down the pkg-config utility and build it yourself. Once built you need to "autoreconf -i" in the avxsynth src dir. Then you will have a good configure.
More here: https://askubuntu.com/questions/468661/how-to-fix-pkg-prog-pkg-config-command-not-found-error
Use git to get the pkg-config src: https://cgit.freedesktop.org/pkg-config
You are gonna need libcairo: https://cairographics.org/download/
git clone git://anongit.freedesktop.org/git/cairo
./configure --enable-png=no --enable-svg=no
Have to edit cairo-missing.h and comment out typedef SSIZE_T ssize_t;
libcairo needs libpng: http://www.libpng.org/pub/png/libpng.html
libpng's configure works, but the build broke. Had to fix up a header file.
libcairo needs pixman: git clone git://anongit.freedesktop.org/git/pixman.git
You are gonna need libpango 1.4.2: http://ftp.gnome.org/pub/GNOME/sources/pango/
Which needs glib 2.54.3: https://download.gnome.org/sources/glib/2.54/
./autogen.sh
./configure --with-pcre=internal --enable-static --disable-shared
Remove DllMain() from gtype.c
Edit gio/gwin32appinfo.c, at line 37 add: #include <wctype.h>
Edit gio/gwin32appinfo.c, at line 519 add:
#ifndef LOAD_LIBRARY_AS_IMAGE_RESOURCE
#define LOAD_LIBRARY_AS_IMAGE_RESOURCE 0x00000020
#endif
#define LOAD_LIBRARY_AS_IMAGE_RESOURCE 0x00000020
#endif
Edit gio/gwin32networking.h, replace lines 27-29 with this:
typedef INT (WSAAPI *PFN_InetPton) (INT, LPCSTR, PVOID);
typedef LPCSTR (WSAAPI *PFN_InetNtop) (INT, PVOID, PTSTR, size_t);
typedef INT (WINAPI *PFN_IfNameToIndex) (PCSTR);
typedef LPCSTR (WSAAPI *PFN_InetNtop) (INT, PVOID, PTSTR, size_t);
typedef INT (WINAPI *PFN_IfNameToIndex) (PCSTR);
Edit gio/Makefile, line 854. Make it: PYTHON = "/c/Program Files/Python36/python"
Edit glib/gstrfuncs.c, line 1286 to have this code:
g_strlcpy (buf, strerror (errnum), sizeof (buf));
msg = buf;
msg = buf;
glib needs libffi 3.0 or above: ftp://sourceware.org/pub/libffi/
glib needs libcpre 8.13 or above: https://www.pcre.org/
./configure --enable-unicode-properties
Comments
Post a Comment