Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTKitPlayer, zerolink and deployment build error



I have been working through the "Introduction to Quicktime Kit Programming Guide," using OS X 10.4.2, 1.25 GHz PowerPC G4 PowerBook, XCode 2.1.

I completed everything, and have gotten everything to work except... 

After completing the section "Adding Code To Your QTKitPlayer Project" (http://developer.apple.com/documentation/QuickTime/Conceptual/QTKitProgrammingGuide/index.html), Step 5, I can't successfully build without  'zerolink' turned on in the project build settings.  That particular step is adding this code:

-(void)installMovieIdleCallback
{
    ComponentResult cr = noErr;
   
    MovieController mc = [mMovie quickTimeMovieController];
    if (!mc) goto bail;
    
    MCActionFilterWithRefConUPP upp = NewMCActionFilterWithRefConUPP(MyActionFilter);
    if (!upp) goto bail;

    cr = MCSetActionFilterWithRefCon(mc, upp, (long)self);
    DisposeMCActionFilterWithRefConUPP(upp);

bail:
    return;

With zerolink turned off, I get this error:

Undefined symbols:
    _DisposeMCActionFilterWithRefConUPP
    _MCSetActionFilterWithRefCon
    _NewMCActionFilterWithRefConUPP
collect2: ld returned 1 exit status

     

I have the same error when I try and build the version of QTKitPlayer in the Developer->Examples->QuickTime directory.

It looks to my novice eye that I should be telling XCode where something is... what is that something? Where is it? How do I tell XCode? 

Thanks,
Dave
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.