I am still getting errors after trying new config settings for installing
wxWidgets. Any pointers greatly appreciated.
../configure --prefix=$PWD \
--with-macosx-version-min=10.9 \
--with-osx-cocoa CXX='clang++ -std=c++11 -stdlib=libc++'
CC=clang \
--enable-unicode \
--disable-shared \
--enable-optimise=no \
--enable-mem_tracing=no \
--enable-profile=no \
--with-dmalloc=no \
\
--enable-debug \
--enable-debug_flag \
--enable-debug_info \
--enable-debug_gdb \
--enable-debug_cntxt \
\
--with-opengl \
--enable-sound \
--enable-mediactrl \
--enable-graphics_ctx \
--enable-controls \
\
--enable-dataviewctrl 2>&1 | tee configure-osx2ud.log
----------------------------------------
The configure-osx2ud.log says:
configure: WARNING: wxMutex::LockTimeout() will not work
configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled
configure: WARNING: Dialup manager not supported on this platform...
disabled
checking CXXWARNINGS for gcc -Woverloaded-virtual... -Woverloaded-virtual
Libtiff is now configured for i386-apple-darwin13.4.0
Installation directory:
/Users/royhinkelman/wxWidgets302/build_osx_ud
Documentation directory: ${prefix}/share/doc/tiff-4.0.3
C compiler: clang -g -O2 -Wall -W
C++ compiler: clang++ -std=c++11 -stdlib=libc++ -g
-O2
Enable runtime linker paths: no
Enable linker symbol versioning: no
Support Microsoft Document Imaging: yes
Use win32 IO: no
Support for internal codecs:
CCITT Group 3 & 4 algorithms: yes
Macintosh PackBits algorithm: yes
LZW algorithm: yes
ThunderScan 4-bit RLE algorithm: yes
NeXT 2-bit RLE algorithm: yes
LogLuv high dynamic range encoding: yes
Support for external codecs:
ZLIB support: yes
Pixar log-format algorithm: yes
JPEG support: no
Old JPEG support: no
JPEG 8/12 bit dual mode: no
ISO JBIG support: no
LZMA2 support: no
C++ support: yes
OpenGL support: no
Configured wxWidgets 3.0.2 for `x86_64-apple-darwin13.4.0'
Which GUI toolkit should wxWidgets use? osx_cocoa
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? no
Should wxWidgets support Unicode? yes (using
wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 no
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
STL no
jpeg builtin
png builtin
regex builtin
tiff builtin
zlib sys
expat sys
libmspack no
sdl no
-------------------------------------
after make -j4
../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types
sending 'WebViewUIDelegate *' to parameter of type
'id<WKUIDelegate>' [-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];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 2 errors generated.
make: *** [webviewlib_osx_webview_webkit.o] Error 1
make: *** Waiting for unfinished jobs....
----------------------------------
after cd samples/widgets make
../../../samples/widgets/choice.cpp:218:27: warning: unused variable
'modes' [-Wunused-variable]
static const wxString modes[] =
^
1 warning generated.
ld: library not found for -lwx_osx_cocoau_adv-3.0
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [widgets] Error 1
Roy
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users