现在的位置: 首页 > 综合 > 正文

openphone编译

2013年09月15日 ⁄ 综合 ⁄ 共 674字 ⁄ 字号 评论关闭
1.出现 "ft_set " type redefinition
   修改main.h中
  #include <ptlib.h>//放前
  #include <wx/wx.h>//放后

2.出现error C2440: ’static_cast’ : cannot convert from ’void (__thiscall OptionsDialog::*)(class wxCommandEvent &)’ to ’void (__thiscall wxEvtHandler::*)(class wxListEvent &)’
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

注释  EVT_LIST_ITEM_SELECTED(XRCID("CodecOptionsList"), OptionsDialog::SelectedCodecOption)
EVT_LIST_ITEM_DESELECTED(XRCID("CodecOptionsList"), OptionsDialog::DeselectedCodecOption)

3.出现wxxrc.lib找不到。
   wxxrc.lib改为wxmsw26_xrc.lib

4.出现unresolved external symbol "public: virtual void __thiscall wxAppConsole::HandleEvent
   末解决(可能是wxwindows.dsp编译有问题)  

抱歉!评论已关闭.