<div style="DIRECTION: ltr">Hi Benjamin,</div>
<div style="DIRECTION: ltr">&nbsp;</div>
<div style="DIRECTION: ltr">Thank you very much for your reply.<br><br>I am having some doubts related to cross compiling.<br><br>Can you please tell me what all steps shall I follow to cross compile swfdec<br>library? Which variables I must set while configuring it?
<br><br>I have already got toolchain ready for it. &nbsp;It is installed in<br>/usr/local/arm/gcc-arm/</div>
<div style="DIRECTION: ltr">&nbsp;</div>
<div style="DIRECTION: ltr">I tried setting variables such as build_alias, target_alias, host_alias. But no success!!:-(</div>
<div style="DIRECTION: ltr">&nbsp;</div>
<div style="DIRECTION: ltr"><br>Regards,<br>&nbsp;</div>
<div style="DIRECTION: ltr"><span class="sg">Shabbir Bharmal<br></span></div><span></span><br><br>
<div><span class="gmail_quote">On 7/7/07, <b class="gmail_sendername">Benjamin Otte</b> &lt;<a href="mailto:otte@gnome.org">otte@gnome.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 7/7/07, Shabbir &lt;<a href="mailto:shabbir.bharmal@gmail.com">shabbir.bharmal@gmail.com</a>&gt; wrote:
<br>&gt; I want to cross compile swfdec-0.4.5 for ARM9. But before that I am planning<br>&gt; to compile it on my x86 machine without GTK support. I have already compiled<br>&gt; it with GTK. But if I disable GTK then I am getting error messages while
<br>&gt; compiling test directory.<br>&gt;<br>First thing first: Swfdec is a library, not an application. So if you<br>compile it with these options, you&#39;ll get a nice library, but you&#39;ll<br>still have to write an application that makes use of it. This is not
<br>hard (just have a look at the test applications), but it needs to be<br>done.<br><br>&gt; In file included from swfedit_file.h:24,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from swfedit_file.c:31:<br>&gt; swfedit_token.h:23:21: error: gtk/gtk.h: No such file or directory
<br>&gt; In file included from swfedit_file.h:24,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from swfedit_file.c:31:<br>&gt; swfedit_token.h:100: error: expected declaration specifiers or &#39;...&#39; before<br>&gt; &#39;GtkTreeIter&#39;<br>
&gt; make[3]: *** [libswfedit_la-swfedit_file.lo] Error 1<br>&gt; make[2]: *** [all-recursive] Error 1<br>&gt; make[1]: *** [all-recursive] Error 1<br>&gt; make: *** [all] Error 2<br>&gt;<br>Not good. The easy fix is to skip the test directory completely.
<br>(Remove the test dir from the SUBDIRS in <a href="http://Makefile.am">Makefile.am</a> and run automake)<br>Or you just run make &amp;&amp; make install in the libswfdec/ subdirectory.<br>I&#39;ll put a proper fix into git.
<br><br>&gt; And is there any way to compile swfdec for frame buffer?<br>&gt;<br>Swfdec uses cairo for rendering. So you&#39;ll need to compile cairo with<br>support for the Framebuffer. After that it should just work.<br>
<br>&gt; Can anyone tell me what would be the minimum size of static swfdec player? I<br>&gt; just want to play normal animations using swfdec. No videos, no sound<br>&gt; needed.<br>&gt;<br>I have absolutely no idea. I never tried to compile it for embedded
<br>systems. But I&#39;d be very interested about your results.<br><br>Cheers,<br>Benjamin<br></blockquote></div><br>