Re: MyRecorder and 64-bit Intel
Re: MyRecorder and 64-bit Intel
- Subject: Re: MyRecorder and 64-bit Intel
- From: Eric Wing <email@hidden>
- Date: Sat, 09 Jun 2012 16:58:25 -0700
On 6/9/12, Todd Heberlein <email@hidden> wrote:
> Using the code from Apple's MyRecorder example, I had to switch my
> architecture to 32-bit Intel in order to get it to work. Why can't I get it
> to work for 64-bit Intel?
>
>
> BACKGROUND:
>
> I was following the example in Apple's "QTKit Application Tutorial", but it
> kept crashing on me.
>
> I downloaded Apple's example project MyRecorder, and it worked.
>
> I copied the source code from MyRecorder into my project (with the exception
> of the class name), but my code still crashed.
>
> Comparing the build settings for the original MyRecorder project and my
> version, I noticed the demo was 32-bit Intel and mine was 64-bit Intel. When
> I changed mine to 32-bit Intel, my code worked.
>
> Does QTKit only work on 32-bit architectures? Am I using the wrong
> framework?
>
>
> I am using Lion 10.7.4 and Xcode 4.3.2 on a 2 x 2.4 GHz Quad-Core Intel
> Xeon
>
>
> Confused...
>
First, you should file a bug report with Apple.
Second, QTKit does work in 64-bit, but with some caveats. There are
some holes in the API caused by some functions never being ported to
64-bit. But usually you get compiler errors for that. So I'm not sure
what kind of problem you are hitting. If you installed any Quicktime
plugins, make sure they were 64-bit too or remove them all.
Third, the writing is on the wall for QTKit. Its days seemed numbered
and it looks like you should be using AVFoundation for new code.
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden