[GEM-dev] image quality when saving

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jun 22 10:29:04 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-06-21 20:07, cyrille henry wrote:
> hello,
> 
> i now have an error compiling the svn (rev 4078)
> 
> 

> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD
> -I/usr/include/FTGL -I/usr/include/freetype2 -g -O2 -fPIC
> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> -funroll-loops -ffast-math -mmmx -MT libBase_la-GemPixUtil.lo -MD -MP
> -MF .deps/libBase_la-GemPixUtil.Tpo -c GemPixUtil.cpp  -fPIC -DPIC -o
> .libs/libBase_la-GemPixUtil.o
> GemPixUtil.cpp: In member function ‘virtual void
> imageStruct::fromRGBA(const unsigned char*)’:

ok, i understand the reason for the problem (me suddenly starting to
flag constant parameters as "const", which makes some problems with
legacy code that did not do so)

i had fixed all issues visible in my compilation, but it turns out i had
compiled without sse2 support (and without Altivec support as well), and
there were some functions hidden in the optimized routines that slipped
my attention.

the problems should be fixed now (rev.4080)


what i don't understand is, why your system builds SSE2 code at all.
you probably want that anyhow, so you don't care so much; but there is
no indication in your compiler-flags telling it to enable sse (should be
"-msse2" somewhere)
which compiler are you using?
here it says
$ g++ --version
g++ (Debian 4.6.0-10) 4.6.1 20110526 (prerelease)


mfgasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4Bp80ACgkQkX2Xpv6ydvTPDwCgv5riC/WuCnWwRaNiWHu48Cr1
BrQAoMvWpdtLQhnTTyxSWvjdHNtDbEyD
=J9J/
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110622/9f0dd1ca/attachment-0001.bin>


More information about the GEM-dev mailing list