[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] compiling development snapshot on FC4 or rendering

From: Adam Plumb
Subject: Re: [Swftools-common] compiling development snapshot on FC4 or rendering an image from swf file
Date: Wed, 24 Sep 2008 11:05:43 -0400

hi Matthias, thanks for getting back to me.

You were correct.  While I had libjpeg installed, CentOS/Redhat divides the header files into a *-devel package, which wasn't installed.  I also didn't have g++, libungif-devel, and freetype-devel installed.

So I finally got make to run through all the way, but it didn't produce a swfrender binary.  Is there something in particular I need to do to create this binary?  Or should it do it automatically?  Does this mean I may be missing other libraries that it needs?


On Wed, Sep 24, 2008 at 5:15 AM, Matthias Kramm <address@hidden> wrote:
On Tue, Sep 23, 2008 at 02:54:07PM -0400, Adam Plumb <address@hidden> wrote:
> gcc -DHAVE_CONFIG_H png2swf.o -o png2swf ../lib/librfxswf.a ../lib/libbase.a
> -L/usr/local/lib -L/root/test/swftoolsbuild/lib -lz -lm
> png2swf.o(.text+0x258b): In function `MovieAddFrame':
> png2swf.c: undefined reference to `swf_SetJPEGBits3'
> png2swf.o(.text+0x25d1):png2swf.c: undefined reference to `swf_SetJPEGBits2'
> collect2: ld returned 1 exit status
> make[1]: *** [png2swf] Error 1
> make[1]: Leaving directory `/root/test/swftools-2008-09-22-1956/src'
> make: *** [all] Error 2

Looks like you're missing the jpeg library. Did configure output any

> BTW, if swfrender is not the correct tool for this job, I'd appreciate it if
> someone could point me in the right direction.

Depends on what kind of SWF files you're going to throw at it. It works
fine for files generated by pdf2swf, png2swf and jpeg2swf, but will most
probably fail for any SWFs you find "in the wild".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]