Page 1 of 1

求助:Mac OS X编译wxWidgets时出现问题

Posted: Tue Jul 29, 2014 10:17 am
by l981013

Code: Select all

../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable of type
      'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *'
    WebBackForwardList* history = [m_webView backForwardList];
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable of type
      'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *'
    WebBackForwardList* history = [m_webView backForwardList];
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
请问怎么解决?

Re: 求助:Mac OS X编译wxWidgets时出现问题

Posted: Wed Dec 17, 2014 1:03 pm
by Zhongshu
我使用OS X 10.9.5编译wxWidgets 3.0.2也出现这个问题,不知道那位高手解决了?给大家分享一下 :D

Re: 求助:Mac OS X编译wxWidgets时出现问题

Posted: Thu Apr 28, 2016 6:34 am
by ghbjimmy
楼主好,我之前在MAC上也遇到此类问题。
解决方案如下:
http://trac.wxwidgets.org/ticket/16329#no1

拿走不谢!