swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Compiling pyswf on OS X


From: Matthias Kramm
Subject: Re: [Swftools-common] Compiling pyswf on OS X
Date: Mon, 1 Nov 2004 19:44:06 +0000
User-agent: Mutt/1.5.6i

On Sat, Oct 30, 2004 at 11:18:20PM +0200, Ksenia Marasanova wrote:
> Actually, libtool on OS X appears to have a name "glibtool". "libtool"  
> is something else... how nice of Apple :/. But... I think it finally  
> works :). After lots of googling and reading man pages it appears to be  
> the -shared option that OS X gcc is unaware of. To compile a .so module  
> it must be replaces by -bundle option. So the line in  
> lib/python/Makefile must be changed from
> $(L) -g -shared [...]
> to
> $(L) -g -bundle [...]
> 
> and it compiles.
> Cool :)

Interesting. Thanks for the hint.
I'll add detection for -shared/bundle to the configure script.

> Next try:
> 
> Traceback (most recent call last):
>   File "test.py", line 20, in ?
>     startframe = stream.addFrame(peppers, quant=15)
> Exception: bad image width 300!=304
> 
> Script did'nt like my JPG file, exported from iPhoto. I tried several  
> other JPG and PNG files saved from Photoshop, even not compressed -  
> same result. Any idea what could be wrong? The peppers.png from your  
> site worked as expected :)

Hm, the version you currently use only works with images dimensions
which are a multiple of 16.
You can try the most recent CVS, which should also allow other image
sizes.

Greetings

Matthias









reply via email to

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