UB, Jitter SDK, and Altivec


    Jul 06 2006 | 10:28 am
    Moving my Jitter stuff to UB I'm running up against preprocessor errors before I can even compile. I'm using the jit-includes from the Carbon Jitter SDK because that seems to be all that's available (??).
    I may be able to figure out ways to hack around these errors by adding some conditional compile statements to jit.platform.h and jit.altivec.h, but hopefully there is a Better Way?
    Thanks, Peter
    --
    Here are the specific errors (plus, FTR, two warnings about redeclared typedefs):
    Error : preprocessor #error directive (included from: jit.altivec.h:17 jit.platform.h:42 jit.common.h:16 MaxUtils.h:73 LitterLib.h:63 lbj.shhh.c:45) altivec.h line 36 #error Use the "-maltivec" flag to enable PowerPC AltiVec support
    Error : macro 'bool' redefined (included from: jit.altivec.h:17 jit.platform.h:42 jit.common.h:16 MaxUtils.h:73 LitterLib.h:63 lbj.shhh.c:45) altivec.h line 49 #define bool __bool
    Error : macro 'BIG_ENDIAN' redefined (included from: jit.platform.h:45 jit.common.h:16 MaxUtils.h:73 LitterLib.h:63 lbj.shhh.c:45) jit.byteorder.h line 19 #define BIG_ENDIAN
    Warning : identifier 'uint' redeclared (included from: MaxUtils.h:73 LitterLib.h:63 lbj.shhh.c:45) jit.common.h line 60 typedef unsigned int uint;
    Warning : identifier 'ushort' redeclared (included from: MaxUtils.h:73 LitterLib.h:63 lbj.shhh.c:45) jit.common.h line 61 typedef unsigned short ushort;
    -------------- http://www.bek.no/~pcastine/Litter/ ------------- Peter Castine +---> Litter Power & Litter Bundle for Jitter Heavy-Duty Mathematics for Everyday Use iCE: Sequencing, Recording & Interface Building for |home | chez nous| Max/MSP Extremely cool |bei uns | i nostri| http://www.dspaudio.com/ http://www.castine.de

    • Jul 06 2006 | 5:44 pm
      I'd suggest waiting a few more days for the Jitter UB SDK, and then investigate further if still experiencing problems.
      Thanks for your patience.
      -Joshua