[AD] Re: Build Errors on Mac OSX (x86)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > > src/macosx/qtmidi.m: In function 'osx_midi_init':
> > > src/macosx/qtmidi.m:127: error: incompatible types in assignment
> > > src/macosx/qtmidi.m:128: error: incompatible types in assignment
> > > make: *** [obj/macosx/alleg/qtmidi.o] Error 1
> >
> > No idea, sorry. Have you checked Apple's documentation to see what sort of
> > type that should be? Any thoughts on why this would be different on the
> > Intel port?
> >
>
> Well, I got a tip from the post on a.cc to change that to:
>
> note_request.info.polyphony.bigEndianValue = EndianU8_NtoB(8);
> note_request.info.typicalPolyphony.bigEndianValue
> =EndianU32_NtoB(0x00010000);
>
> However it seems that EndianU8_NtB() is not defined.... :|
> I just used both EndianU8_NtB(), it worked fine.
This doesn't seem quite right to me as polyphony is a 16 bit number
and typicalPolyphony is a signed, fixed point (16:16) number.
(http://developer.apple.com/documentation/QuickTime/APIREF/noterequestinfo.htm#//apple_ref/doc/uid/TP40001187-DontLinkChapterID_1-NoteRequestInfo)

Can you try EndianU16_NtoB(8) and EndianS32_NtoB(X2Fix(1.0)) respectively?

>
> Still stuck on __stub_bank_switch and __stub_unbank_switch undefined. :-/
>
Right, on this, can you try deleting the #define ALLEGRO_I386 line
from the bottom of include/allegro/platform/alosxcfg.h

Cheers,

Pete




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/