Hi, I'm trying to use the functionality of the example iPhone app AQOfflineRenderTest in my app (this app specifically isn't important, I just thought it worth mentioning). I have a C++ file with method called:
void DoAQOfflineRender(CFURLRef sourceURL, CFURLRef destinationURL)
I'm trying to call this from my Cocoa Objective-C class. The example app I referenced above does this by declaring the method in the header file like so:
- (IBAction)doSomethingAction:(id)sender;
@end
void DoAQOfflineRender(CFURLRef sourceURL, CFURLRef destinationURL);
In the implementation file I call the doSomethingAction which calls renderAudio and executes the same code:
DoAQOfflineRender(sourceURL, destinationURL);
When I execute I get the error: _DoAQOfflineRender", referenced from: -[myViewController renderAudio] in myViewController.o symbol(s) not found collect2: ld returned 1 exit status
Am I missing a reference to this C++ class? It doesn't specify one in the example app but it runs.
Please help and thanks!
Joe