openphone编译

来源:互联网 发布:linux怎么保存退出 编辑:程序博客网 时间:2024/05/10 04:22
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编译有问题)  
原创粉丝点击