[Swfdec] Compiling swfdec without GTK

Shabbir shabbir.bharmal at gmail.com
Sat Jul 7 01:34:31 PDT 2007


I want to cross compile swfdec-0.4.5 for ARM9. But before that I am planning to compile it on my x86 machine without GTK support. I have already compiled it with GTK. But if I disable GTK then I am getting error messages while compiling test directory.

I have used following configuration options:

./configure enable_shared=no enable_static=yes enable_mad=no enable_gtk_doc=no enable_ffmpeg=no enable_gtk=no enable_gnome_vfs=no enable_gstreamer=no with_audio=none

Following are the error messages:

make[3]: Entering directory `/home/FlashLibs/swfdec-0.4.5/test'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12    -DXP_UNIX -I../libswfdec/js -g -O2 -MT libswfedit_la-swfedit_file.lo -MD -MP -MF ".deps/libswfedit_la-swfedit_file.Tpo" -c -o libswfedit_la-swfedit_file.lo `test -f 'swfedit_file.c' || echo './'`swfedit_file.c; \
 then mv -f ".deps/libswfedit_la-swfedit_file.Tpo" ".deps/libswfedit_la-swfedit_file.Plo"; else rm -f ".deps/libswfedit_la-swfedit_file.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DXP_UNIX -I../libswfdec/js -g -O2 -MT libswfedit_la-swfedit_file.lo -MD -MP -MF .deps/libswfedit_la-swfedit_file.Tpo -c swfedit_file.c -o libswfedit_la-swfedit_file.o


In file included from swfedit_file.h:24,
                 from swfedit_file.c:31:
swfedit_token.h:23:21: error: gtk/gtk.h: No such file or directory
In file included from swfedit_file.h:24,
                 from swfedit_file.c:31:
swfedit_token.h:100: error: expected declaration specifiers or '...' before 'GtkTreeIter'
make[3]: *** [libswfedit_la-swfedit_file.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




And is there any way to compile swfdec for frame buffer?

Can anyone tell me what would be the minimum size of static swfdec player? I just want to play normal animations using swfdec. No videos, no sound needed.

Sorry for so many questions. But i am newbie. and i am in urgent need of solution.

Waiting for reply...

Shabbir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/swfdec/attachments/20070707/ac32b581/attachment.html 


More information about the Swfdec mailing list