OpenFeint バージョン 2.3.1 をダウンロードし、解凍して Xcode のプロジェクトのすぐ下に OpenFeint フォルダーを配置し、「必要に応じてグループを再帰的に作成する」にチェックを入れました (フォルダー参照ではなくグループを使用するように指示されています)。AppViewController と AppDelegate .m ファイルの名前を .mm に変更しました。残りの指示に従い、コンパイルして実行しました。アプリは正常に動作します。AppViewController.mm 内では、次のことを行います。
#import "OpeinFeint.h"
コンパイルすると、エラーが表示されます。
#error: "OpenFeint requires Objective-C++. In Xcode, you can enable this by changing your file's extension to .mm".
#error: syntax error before 'OfNotificationCategory'
#error: syntax error before 'OfNotificationCategory'
エラーの場所は、OpenFeint ファイルに移動します。-ObjC を Other Linker Flags に追加し、Call C++ Default Ctors/Dtors in Objective-C をチェックしました。何かアドバイス?ありがとう!