Hello, A question about Building SWFTools on Windows. Questions are as follows:
http://lists.gnu.org/archive/html/swftools-common/2005-02/msg00023.html The current version of the swftools is v0.9.2., Can this version in accordance with your instructions build success. Whether you need to download some packages? ./configer Give the following tips *********************************************** *The following header/libraries are missing: ungif_lib.h *Disable gif2swf tool ... *********************************************** make Give the following tips gcc -c -DHAVE_CONFIG_H -I/gw32/include -I/gw32/freetype2 -I/fc/include/fontconfig -I/mingw/include/lame -Id:/GnuWin32/include/freetype2 -Id:/GnuWin32/include -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer swfstrings.c -o swfstrings.obj cc1.exe: warning: -fPIC ignored for target (all code is position independent) gcc -DHAVE_CONFIG_H swfstrings.obj -o swfstrings.exe ../lib/librfxswf.lib .. /lib/libbase.lib -L/gw32/lib -L/fc/lib -L/usr/local/lib -lmp3lame -ljpeg -lz -lm -lws2_32 -lgdi32 -Ld:/GnuWin32/lib -Ld:/GnuWin32/lib -lfreetype -lz -Wl,-s -LD:/Progra~1/GnuWin32/lib -lintl -lwsock32 -lole32 -luuid -lmsvcp60 ../lib/librfxswf.lib(pool.obj)(.text+0x2175):pool.c: undefined reference to `__builtin_nan' make[1]: *** [swfstrings.exe] Error 1 make[1]: Leaving directory `/d/swftools-0.9.2/src' make: *** [all] Error 2 I check the code: In the file of “gif2swf.c” as follows: #include <stdio.h> #include <fcntl.h> #include <gif_lib.h> #include "../lib/rfxswf.h" #include "../lib/args.h" the file of “gif_lib.h” does not exist. So the compiler gives the message。 I check the code: In the file of “pool.c” as follows: double pool_lookup_float(pool_t*pool, int i) { if(!i) return __builtin_nan(""); double*ptr = (double*)array_getkey(pool->x_floats, i); if(!ptr) return __builtin_nan(""); return *ptr; } the Function of “__builtin_nan” does not exist. So the link gives the message。 How to deal with the two problems?
--------------- SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
