Page 1 of 1

Universal build on Intel Mac, Help needed...

Posted: Thu Jan 04, 2007 11:22 pm
by prigaux
I'm still at trying to build a universal binary on my Mac Intel.

Remaining are X264 and Xvid.

Well I'm facing a problem compiling the PPC part of x264:

gcc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -c -o common/quant.o common/quant.c
In file included from common/quant.c:29:
common/ppc/quant.h:26: error: parse error before 'vector'
common/ppc/quant.h:26: warning: no semicolon at end of struct or union
common/ppc/quant.h:27: warning: type defaults to 'int' in declaration of 'vect_int_u'
common/ppc/quant.h:27: warning: data definition has no type or storage class
common/ppc/quant.h:31: error: parse error before 'vector'
common/ppc/quant.h:31: warning: no semicolon at end of struct or union
common/ppc/quant.h:32: warning: type defaults to 'int' in declaration of 'vect_sint_u'
common/ppc/quant.h:32: warning: data definition has no type or storage class
make: *** [common/quant.o] Error 1

Do you have any idea or such a problem compiling it on a PPC mac ?

Thx

Philippe

Posted: Mon Jan 15, 2007 3:47 pm
by prigaux
This is fixed with the 0.9.7 branch's x264 lib version.

Philippe

Posted: Tue Jan 16, 2007 2:50 pm
by prigaux
Well, some news about the universal build on mac intel...

I'm able to build all the lib and applications universaly :)

But the ppc part is malfunctionning "no valid title found" error at scan...

I'm still investigating the issue..

Philippe