Hello all! Great website, has been super helpful these past few weeks. I am writing an app in Cocoa that requires the use of a C++ dylib and header files. I need to call functions from a header file in my app. Ive tried several ways to import and include these libraries into my app but always end up with missing symbol errors. The libraries i am using are from the autodesk maya API, anyone have any idea the correct way to do this? Thanks in advance!
+1
A:
You need to make sure the files calling the functions are Objective-C++ files (basically, give them the extension ".mm"), and you need to add the library to your project so it gets linked in.
Chuck
2010-08-02 20:52:56