[AD] Re: Build Errors on Mac OSX (x86) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] Re: Build Errors on Mac OSX (x86)
- From: "Peter Hull" <peterhull90@xxxxxxxxxx>
- Date: Wed, 22 Mar 2006 10:56:21 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XnVxb9zCNAeVrKwD9WT3x4pCV0xhrlQBQBzryBbK6LhwJuUAuK03gAlehriyxS8zStWTPX8c/1FA5JVC7TlWqf+5cooyI54vcPnQeQCJ7UyyYbEnR4ip7n2o34rKcXjqbj1A9TaEfbts6URQGcfit6NT+Rud+o86YUCy6H96CWw=
> > > 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