C++11 note: If you want to compile wxWidgets in C++11 mode, you currently have
to use -std=gnu++11 switch as -std=c++11 disables some extensions
that wxWidgets relies on. I.e. please use CXXFLAGS="-std=gnu++11".
The summary is that now building with all 3 compilers with and without -std=c++11 works.
mingw32-make -f makefile.gcc BUILD=debug CXXFLAGS="-std=gnu++11"
mingw32-make -f makefile.gcc BUILD=debug CXXFLAGS="-std=c++11"
g++ -c -o gcc_mswud\baselib_any.o -g -O0 -mthreads -DHAVE_W32API_H -D__WXMSW__
-D_UNICODE -I..\..\lib\gcc_lib\mswud -I..\..\include -W -Wall -DWXBUILDIN
G -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -I..\..\src\zlib -I.
.\..\src\regex -I..\..\src\expat\lib -DwxUSE_GUI=0 -DwxUSE_BASE=1 -Wno-ctor-dt
or-privacy -std=c++11 -MTgcc_mswud\baselib_any.o -MFgcc_mswud\baselib_any.o.d -
MD -MP ../../src/common/any.cpp
In file included from ..\..\include/wx/crt.h:19:0,
from ../../src/common/any.cpp:24:
..\..\include/wx/wxcrt.h: In function 'long long int wxStrtoll(const char*, char
**, int)':
..\..\include/wx/wxcrt.h:876:42: error: 'strtoll' was not declared in this scope
{ return implA(nptr, endptr, base); } \
^
..\..\include/wx/wxcrt.h:902:1: note: in expansion of macro 'WX_STRTOX_FUNC'
WX_STRTOX_FUNC(wxLongLong_t, wxStrtoll, wxCRT_StrtollA, wxCRT_StrtollW)
^
..\..\include/wx/wxcrt.h: In function 'long long unsigned int wxStrtoull(const c
har*, char**, int)':
..\..\include/wx/wxcrt.h:876:42: error: 'strtoull' was not declared in this scop
e
{ return implA(nptr, endptr, base); } \
^
..\..\include/wx/wxcrt.h:903:1: note: in expansion of macro 'WX_STRTOX_FUNC'
WX_STRTOX_FUNC(wxULongLong_t, wxStrtoull, wxCRT_StrtoullA, wxCRT_StrtoullW)
^
makefile.gcc:12018: recipe for target 'gcc_mswud\baselib_any.o' failed
mingw32-make: *** [gcc_mswud\baselib_any.o] Error 1
wxWidgets seems to be in a perpetual infant state.
Documentation:
When researching how to compile the toolkit one finds that a lot
of people, with a lot of different ideas, have come up with
different ways to compile the toolkit. The online documentation
provided by wxWidgets is at best very poor, and/or misleading.
Mailing list:
wxWidgets the support/help in this mailing list is so out of wack
that I have even been suggested to learn C/C++ to compile the
toolkit, a compilation that has nothing to do with C/C++
programming at all, but with whatever Compiler flavour one is
using.
Videos:
There are some videos on the net, but they present solutions that
are archaic.
After weeks reading about the toolkit and trying to get wxWidgets 3.0.x to work on a Win10 machine, my conclusion was that the toolkit presents great opportunities in a industrial strength manner, but the installation is too elegant, too arrogant and too capricious to make it worthwhile. So, for the time being I am not recommending the toolkit to my clients, but I am keeping an eye on developers who would tell their success stories and might also be willing to share them in detail.
Please, keep up the good work and document your story as much as possible, it might be that your research will make this beautiful toolkit finally take off and be use by more developers who will in turn recommend it to others.
A word of advice, the support on this mailing list might turn out
to be ambiguous. *Be Careful*
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users
This email has been checked for viruses by Avast antivirus software.
|