Kinniken
Registered
Hi, I have a project to do in C++ with the wxWidgets UI libraries. I downloaded the latest stable release (2.6) from the official website (http://www.wxwidgets.org/dl_mac2.htm).
configure runs fine, but when trying to compile it using make I get:
Now, since it mentions webkit extensively, I'm assuming that it must be the result of incompatibilities between it and 10.4. Does anyone know a work around?
TIA,
Cédric
configure runs fine, but when trying to compile it using make I get:
./bk-deps g++ -c -o coredll_webkit.o -I.pch/wxprec_coredll -D__WXMAC__ -I../src/tiff -I../src/jpeg -I../src/png -I../src/expat/lib -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -Ilib/wx/include/mac-ansi-release-2.6 -I../include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -O2 -Wall -Wno-ctor-dtor-privacy -fno-common ../src/html/htmlctrl/webkit/webkit.mm
../src/html/htmlctrl/webkit/webkit.mm:69: error: 'wxStringWithNSString' declared as an 'inline' variable
../src/html/htmlctrl/webkit/webkit.mm:69: error: 'NSString' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:69: error: 'nsstring' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:70: error: expected %<,%> or %<;%> before '{' token
../src/html/htmlctrl/webkit/webkit.mm:78: error: expected initializer before '*' token
../src/html/htmlctrl/webkit/webkit.mm:87: error: cannot find interface declaration for `NSObject', superclass of `MyFrameLoadMonitor'
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::Create(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)':
../src/html/htmlctrl/webkit/webkit.mm:156: warning: no `-setHidden:' method found
../src/html/htmlctrl/webkit/webkit.mm:156: warning: (Messages without a matching method signature
../src/html/htmlctrl/webkit/webkit.mm:156: warning: will be assumed to return `id' and accept
../src/html/htmlctrl/webkit/webkit.mm:156: warning: `...' as arguments.)
../src/html/htmlctrl/webkit/webkit.mm:160: warning: `MyFrameLoadMonitor' may not respond to `+alloc'
../src/html/htmlctrl/webkit/webkit.mm:161: warning: no `-setFrameLoadDelegate:' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::LoadURL(const wxString&)':
../src/html/htmlctrl/webkit/webkit.mm:181: warning: no `-mainFrame' method found
../src/html/htmlctrl/webkit/webkit.mm:181: error: 'NSURLRequest' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:181: error: 'NSURL' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:181: error: 'wxNSStringWithWxString' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:181: warning: no `-loadRequest:' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGoBack()':
../src/html/htmlctrl/webkit/webkit.mm:190: warning: no `-canGoBack' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGoForward()':
../src/html/htmlctrl/webkit/webkit.mm:197: warning: no `-canGoForward' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::GoBack()':
../src/html/htmlctrl/webkit/webkit.mm:204: warning: `WebView' may not respond to `-goBack'
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::GoForward()':
../src/html/htmlctrl/webkit/webkit.mm:212: warning: `WebView' may not respond to `-goForward'
../src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::Reload()':
../src/html/htmlctrl/webkit/webkit.mm:220: warning: no `-mainFrame' method found
../src/html/htmlctrl/webkit/webkit.mm:220: warning: no `-reload' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::Stop()':
../src/html/htmlctrl/webkit/webkit.mm:227: warning: no `-mainFrame' method found
../src/html/htmlctrl/webkit/webkit.mm:227: warning: no `-stopLoading' method found
../src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGetPageSource()':
../src/html/htmlctrl/webkit/webkit.mm:234: error: 'WebDataSource' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:234: error: 'dataSource' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:234: warning: no `-mainFrame' method found
../src/html/htmlctrl/webkit/webkit.mm:234: warning: no `-dataSource' method found
../src/html/htmlctrl/webkit/webkit.mm:235: confused by earlier errors, bailing out
make: *** [coredll_webkit.o] Error 1
Now, since it mentions webkit extensively, I'm assuming that it must be the result of incompatibilities between it and 10.4. Does anyone know a work around?
TIA,
Cédric