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

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
l981013
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Jul 29, 2014 9:36 am

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

Postby l981013 » Tue Jul 29, 2014 10:17 am

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];
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~

请问怎么解决?

Zhongshu
In need of some credit
In need of some credit
Posts: 1
Joined: Wed Dec 03, 2014 12:54 pm

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

Postby Zhongshu » Wed Dec 17, 2014 1:03 pm

我使用OS X 10.9.5编译wxWidgets 3.0.2也出现这个问题,不知道那位高手解决了?给大家分享一下 :D

ghbjimmy
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Apr 19, 2016 12:20 am

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

Postby ghbjimmy » Thu Apr 28, 2016 6:34 am

楼主好,我之前在MAC上也遇到此类问题。
解决方案如下:
http://trac.wxwidgets.org/ticket/16329#no1

拿走不谢!


Return to “wxWidgets Development (Chinese)”

Who is online

Users browsing this forum: No registered users and 2 guests