https://bugs.winehq.org/show_bug.cgi?id=53953
--- Comment #8 from nanotwerp@gmail.com --- (In reply to Eric Pouech from comment #7)
(In reply to Eric Pouech from comment #6)
(been there <g>)
you need to install freetype-devel for 32bit (and likely a bunch of others missing devel packages)
you can do
PKG_CONFIG_PATH=/usr/lib/pkgconfig/ i686-w64-mingw32-pkg-config --cflags freetype2
and it'll tell you which 32bit -devel packages you're missing
(note: as a consequence of commit from #1, I had to disable gstreamer from 32bit compilations as it seems the 32/64 bit settings are wrong)
commenting on my self: actually this is sufficient
PKG_CONFIG_PATH=/usr/lib/pkgconfig/ pkg-config --cflags freetype2
for gstreamer, you need to check for
PKG_CONFIG_PATH=/usr/lib/pkgconfig/ pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0
(I was only checking for gstreamer-1.0 and didn't see all missings deps. This is now working correctly).
another option is to apply this change: diff --git a/aclocal.m4 b/aclocal.m4 index 080f782b698..629d2a245d6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -116,7 +116,7 @@ AS_VAR_PUSHDEF([ac_libs],[[$1]_LIBS])dnl AC_ARG_VAR(ac_cflags, [C compiler flags for $2, overriding pkg-config])dnl AS_VAR_IF([ac_cflags],[], [AS_VAR_SET_IF([PKG_CONFIG],
[ac_cflags=`$PKG_CONFIG --cflags [$2] 2>/dev/null`])])
[ac_cflags=`$PKG_CONFIG --cflags [$2] `])])
m4_ifval([$4],[test "$cross_compiling" = yes || ac_cflags=[$]{ac_cflags:-[$4]}]) AC_ARG_VAR(ac_libs, [Linker flags for $2, overriding pkg-config])dnl AS_VAR_IF([ac_libs],[],
run
autoconf
to regenerate the configure.ac
and then the missing deps will appear when running configure (but also the ones that are not present)
I get:
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread
when I run the command. I already every 64 and 32-bit FreeType package except for the demos and the ones for Rust.