Universal build on Intel Mac, Help needed...

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
prigaux
Regular User
Posts: 94
Joined: Mon Jan 01, 2007 3:25 pm

Universal build on Intel Mac, Help needed...

Post 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
prigaux
Regular User
Posts: 94
Joined: Mon Jan 01, 2007 3:25 pm

Post by prigaux »

This is fixed with the 0.9.7 branch's x264 lib version.

Philippe
prigaux
Regular User
Posts: 94
Joined: Mon Jan 01, 2007 3:25 pm

Post 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
Post Reply