eiskalteschatten
Registered
I have a problem. I am building an application in Cocoa that needs to use Carbon functions. My application is a MP3 player that is using QuickTime. I am using the code provided by Apple as found here: http://developer.apple.com/samplecode/SimpleCocoaMovie/SimpleCocoaMovie.html
Apple's example compiles and runs just fine, however, when I try compiling it in my own application, it has errors. The first error I get out of the 13,686 errors I get says this:
When I click on it, it takes me to a line in a file called "NSObjCRuntime.h" that says "@class NSString;". It appears to be the definition for the cocoa NSString class.
The source code for the Carbon file which has the 13,686 errors is here: http://developer.apple.com/samplecode/SimpleCocoaMovie/listing4.html
My application compiles and runs perfectly without the Carbon file.
I should also mention that I am fairly new to programming on the Mac. Can anyone help me out with this? I am completely lost.
Thank you!
Apple's example compiles and runs just fine, however, when I try compiling it in my own application, it has errors. The first error I get out of the 13,686 errors I get says this:
Code:
undefined type, found '@class'
The source code for the Carbon file which has the 13,686 errors is here: http://developer.apple.com/samplecode/SimpleCocoaMovie/listing4.html
My application compiles and runs perfectly without the Carbon file.
I should also mention that I am fairly new to programming on the Mac. Can anyone help me out with this? I am completely lost.
Thank you!