Hi, I made an Objective-C project for the iPhone. I had only one cpp class, the soundEngine taken from some Apple demo. Now I'm trying to merge OpenFeint which is coded in Objective-C++. I dropped in the code, by simply dragging the files and just tick "Call C++ default ctors/dtors in Objective-C" in Project Settings. I am not even referring to it from my code. When I hit Build, my Objective-C code cannot find the methods of the cpp file. All the class files compile, including OpenFeint's, but in the linking stage it says several of these errors: "_SoundEngine_SetDisabled", referenced from: someClass.o
Note that it is adding an underscore in front of the methods when it's reporting these linking errors.
P.S. I know that for OpenFeint first thing one should do is convert the files to .mm but if possible I don't want to go down that road at this stage of development. I was going to try create a wrapper Objective-C++ class for it. I read someone managed to do that.