0

iPhone アプリで RTSP オーディオ ストリームを再生する必要があるため、Wunderradio コード (http://wunderradio.com/code.html) を実行しようとしましたが、エラーが発生します (以下にコピー)。

通常、このようなエラーはフレームワークがインストールされていないことを意味しますが、この場合、それらはすべて存在し、正しいように見えます。

Wunderadio のコードを実行できる人はいますか? 私は立ち往生しています!

  "_OBJC_CLASS_$_MusicViewController", referenced from:


  objc-class-ref-to-MusicViewController in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_URLBackgroundOperation", referenced from:


  objc-class-ref-to-URLBackgroundOperation in SkinViewController.o


  "_Status_GetCurrentStatus", referenced from:


  -[LevelMeterView updateBargraph:] in LevelMeterView.o


  "_OBJC_CLASS_$_FavoriteViewController", referenced from:


  objc-class-ref-to-FavoriteViewController in WunderRadioAppDelegate.o


  "_Status_SetNewStatusByKey", referenced from:


  -[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioDidStopNotification", referenced from:


  _CMAudioPlayerAudioDidStopNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioDidStopNotification$non_lazy_ptr)


  "_CMAudioPlayerAudioIsAvailableNotification", referenced from:


  _CMAudioPlayerAudioIsAvailableNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioIsAvailableNotification$non_lazy_ptr)


  "_Status_SetNewStatusString", referenced from:


  -[SkinViewController setShowingPlay:] in SkinViewController.o


   "_OBJC_CLASS_$_RadioTimeBrowser", referenced from:


  objc-class-ref-to-RadioTimeBrowser in WunderRadioAppDelegate.o


   "_gStreamingAudioPlayerTimerMax", referenced from:


  _gStreamingAudioPlayerTimerMax$non_lazy_ptr in PreferenceViewController.o


 (maybe you meant: _gStreamingAudioPlayerTimerMax$non_lazy_ptr)


  "_OBJC_CLASS_$_WebViewController", referenced from:


  objc-class-ref-to-WebViewController in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioIsDoneNotification", referenced from:


  _CMAudioPlayerAudioIsDoneNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioIsDoneNotification$non_lazy_ptr)


  "_OBJC_CLASS_$_EnhancedAlertView", referenced from:


  objc-class-ref-to-EnhancedAlertView in DebugController.o


  "_OBJC_CLASS_$_WXRadioItem", referenced from:


  objc-class-ref-to-WXRadioItem in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_SettingsAndKeyChainStorage", referenced from:


  objc-class-ref-to-SettingsAndKeyChainStorage in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_Reachability", referenced from:


  objc-class-ref-to-Reachability in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_WBSettingsManager", referenced from:


  objc-class-ref-to-WBSettingsManager in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioDidPlayNotification", referenced from:


  _CMAudioPlayerAudioDidPlayNotification$non_lazy_ptr in SkinViewController.o


 (maybe you meant: _CMAudioPlayerAudioDidPlayNotification$non_lazy_ptr)


  "_ExpandString", referenced from:


  -[DebugController runPressed:] in DebugController.o


  -[DebugController lngPressed:] in DebugController.o


  -[SkinViewController expandString:] in SkinViewController.o


  "_OBJC_CLASS_$_WebAudioPlayer", referenced from:


  objc-class-ref-to-WebAudioPlayer in SkinViewController.o


   ld: symbol(s) not found


    collect2: ld returned 1 exit status

Wunderadio のコードを実行できる人はいますか? ありがとう!

4

2 に答える 2

2

今はデバイスターゲットしかビルドできないと思います。Common/build/release-iphonesimulator/libcommon.a のシンボルは、現在のコンパイラとは異なる命名マングリングを持っているようです。たとえば、「.objc_class_name_MusicViewController」は使用されますが、「_OBJC_CLASS_$_MusicViewController」は除外されます。libcommon.a を調べて、gcc 4.2.1 5577 (x86) を使用して iphone os SDK 3.1 でビルドされていることを示します。デバイスでのみテストし、シミュレーター lib を同期するのを忘れている可能性がありますか?

于 2011-03-04T22:54:40.583 に答える
0

Command または RadioShared ファイルのファイルをプロジェクトに追加します。

于 2011-01-25T02:01:51.993 に答える