openphone编译

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编译有问题)  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值