I'm using Dev-C++ and MSYS on Windows. All of Wesnoth's dependency
libraries are available as Dev-C++ packages, except fribidi. I try to
build fribidi-0.10.7 from sources and it fails. I see that a Wesnoth
1.1.1 binary is available for Windows; are you not building with MinGW
and MSYS? Did you use VC++, or cross-compile it from Linux? If you
actually did build fribidi, either this version or a previous one, I'd
like to know. Here are the errors:
Brandon J. Van [EMAIL PROTECTED] ~/fribidi-0.10.7
$ make
make all-am
make[1]: Entering directory `/e/devel/mingw/fribidi-0.10.7'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -g -O2 -Wall -pedantic -fno-strict-aliasing -MT wcwidth.lo
-MD -MP -MF ".deps/wcwidth.Tpo" -c -o wcwidth.lo wcwidth.c; \
then mv -f ".deps/wcwidth.Tpo" ".deps/wcwidth.Plo"; else rm -f
".deps/wcwidth.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -pedantic
-fno-strict-aliasing -MT wcwidth.lo -MD -MP -MF .deps/wcwidth.Tpo -c
wcwidth.c -DDLL_EXPORT -DPIC -o .libs/wcwidth.o
wcwidth.c: In function `fribidi_wcwidth':
wcwidth.c:123: warning: function 'fribidi_wcwidth' is defined after
prior declaration as dllimport: attribute ignored
wcwidth.c: In function `fribidi_wcswidth':
wcwidth.c:200: warning: function 'fribidi_wcswidth' is defined after
prior declaration as dllimport: attribute ignored
wcwidth.c:204: error: syntax error before "__attribute__"
wcwidth.c:204: error: syntax error before ')' token
wcwidth.c: At top level:
wcwidth.c:223: error: external linkage required for symbol
'fribidi_wcwidth_cjk' because of 'dllimport' attribute.
wcwidth.c: In function `fribidi_wcwidth_cjk':
wcwidth.c:286: error: syntax error before "__attribute__"
wcwidth.c: In function `fribidi_wcswidth_cjk':
wcwidth.c:291: warning: function 'fribidi_wcswidth_cjk' is defined after
prior declaration as dllimport: attribute ignored
wcwidth.c:295: error: syntax error before "__attribute__"
wcwidth.c:295: error: syntax error before ')' token
make[1]: *** [wcwidth.lo] Error 1
make[1]: Leaving directory `/e/devel/mingw/fribidi-0.10.7'
make: *** [all] Error 2