Re: [AD] Re: Build Errors on Mac OSX (x86) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] Re: Build Errors on Mac OSX (x86)
- From: "Miguel A. Gavidia" <juvinious@xxxxxxxxxx>
- Date: Fri, 24 Mar 2006 09:09:23 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=dHX2x1vcq5YYKq7fkWTzbktYYXd6piycns6D/uKvFkL+1kYjlF8pB3ZYycF085ME3TFQZqc0h1YK8dJoAYpOWphg7xCYGzH3C8efeAiI+fszKmt8111QzOCG5OZWFCT5Ggc6sxtgbOKqLW7MEXDQX/MewH4vmB1UphZofZLPmMg=
On Wednesday 22 March 2006 18:56, Peter Hull wrote:
> > > > 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)
>
That worked well.
> 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
>
Nope still getting them as undefined after removing that line.
This is with and without ALLEGRO_USE_C=1
There are several files that use these two items. :-/
> Cheers,
>
> Pete
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
--
-juvinious
<a href="http://chasm.hopto.org">The Chasm</a> - My Site.