This looks like a WxWidgets bug, see here: 
https://forums.wxwidgets.org/viewtopic.php?t=40309

Can you try the proposed solution in that forum topic and see if it fixes the 
issue?

-- 
Joel J. K. Parker
NASA GSFC | Navigation and Mission Design Branch/595
joel.j.k.par...@nasa.gov

-----Original Message-----
From: Samuel Dupree [mailto:sdup...@speakeasy.net] 
Sent: Tuesday, November 03, 2015 8:51 PM
To: gmat-users@lists.sourceforge.net
Cc: Hughes, Steven P. (GSFC-5950) <steven.p.hug...@nasa.gov>; Parker, Joel J. 
K. (GSFC-5950) <joel.j.k.par...@nasa.gov>
Subject: More on Building GMAT R2015a on a MacBook Pro


GMAT List,

I'm attempting to build and install GMAT-R2015a on a MacBook Pro running Mac OS 
X ver. 10.11.1 (El Capitan). At present, the problem I'm having is building 
WxWindow. The version of gcc I'm using is


users-MacBook-Pro:~ user$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
users-MacBook-Pro:~ user$


The errors I'm getting is shown in the report below:


/Users/user/GMAT-R2015a/depends/wxWidgets/wxWidgets-3.0.2/cocoa-build/bk-deps 
g++ -mmacosx-version-min=10.8 -c -o xrcdll_xh_bmp.o 
-I./.pch/wxprec_xrcdll -D__WXOSX_COCOA__      -DWXBUILDING 
-I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_XRC -dynamic -fPIC -DPIC 
-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy 
-Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 
-I/Users/user/GMAT-R2015a/depends/wxWidgets/wxWidgets-3.0.2/cocoa-build/lib/wx/include/osx_cocoa-unicode-3.0
 
-I../include -DWX_PRECOMP -O2 -fno-strict-aliasing -fno-common 
../src/xrc/xh_bmp.cpp
../src/osx/webview_webkit.mm:381:37: warning: incompatible pointer types 
sending 'WebViewLoadDelegate *' to parameter of type 
'id<WebFrameLoadDelegate>' [-Wincompatible-pointer-types]
     [m_webView setFrameLoadDelegate:loadDelegate];
                                     ^~~~~~~~~~~~
../src/osx/webview_webkit.mm:387:34: warning: incompatible pointer types 
sending 'WebViewPolicyDelegate *' to parameter of type 
'id<WebPolicyDelegate>' [-Wincompatible-pointer-types]
     [m_webView setPolicyDelegate:policyDelegate];
                                  ^~~~~~~~~~~~~~
../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types 
sending 'WebViewUIDelegate *' to parameter of type 'id<WKUIDelegate> 
_Nullable' [-Wincompatible-pointer-types]
     [m_webView setUIDelegate:uiDelegate];
                              ^~~~~~~~~~
../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not 
respond to 'setUsesPageCache:'
         [[m_webView preferences] setUsesPageCache:NO];
          ~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not 
respond to 'setUsesPageCache:'
         [[m_webView preferences] setUsesPageCache:YES];
          ~~~~~~~~~~~~~~~~~~~~~~~ ^
../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];
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings and 2 errors generated.
make: *** [webviewdll_osx_webview_webkit.o] Error 1
make: *** Waiting for unfinished jobs....


How do I fix these two errors?

Please advise.

Sam Dupree.


------------------------------------------------------------------------------
_______________________________________________
GMAT-users mailing list
GMAT-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-users

Reply via email to