Supported Platforms

From WxWiki
Jump to: navigation, search

This page contains information about all platforms (meaning architecture+compiler combinations) supported by the upcoming wxWidgets 3.0 release.

You may also be interested in the list of supported classes for each platform.

Tier-1 Platforms

These architectures/compilers are tested regularly and before each release and are never supposed to be broken:

  • Win32 using Microsoft Visual C++ 2005, 2008, 2010.
  • Win64 using Microsoft Visual C++ 2010.
  • Linux using g++ 4
  • OS X using Apple g++ or clang

We try to support as many other platforms as possible but they are not tested as regularly. Your help with testing them and reporting your results on this wiki is welcome!

Platforms supported by wxMSW

The programs using wxMSW run on any of the desktop 32-bit Windows version, including Windows 95 (and Windows 98/ME/NT4/2000/XP/Vista/2008/7/8/2012). wxMSW was tested with the following compilers:

OS Compiler Version Last tested svn revision Remarks
Win32
(Windows 9x/NT/XP/2003/Vista/2008/7/8/2012)
Microsoft Visual C++ 5.0 Not officially supported but may work using VC6 project files
6.0 2.9.2 / trunk checked by a buildbot
7.1 (a.k.a. 2003) 2.9.0
8.0 (a.k.a. 2005) 2.9.0
9.0 (a.k.a. 2008) 2.9.5 / trunk checked by a buildbot
10.0 (a.k.a. 2010) trunk-rev66841 Starting rev 66836, everything compiles w/o errors. No need for any project-files workaround.
mingw32 g++ 3.4.2 (using makefiles) 2.9.0
3.4.5 (with MSYS/configure) 2.9.5
4.3.1 (with MSYS/configure) 55381
4.5.2 (using makefiles) 2.9.3 RC1
4.6.1 (using MSYS/configure) r70370
Cygwin g++ 3.4.4/4.3.4
(Cygwin 1.5/1.7)
65114 Compiles, links, and appears to run. Unit testing has not been run as of 2010/07/26
4.3.4 (Cygwin 1.7) 2.8.10 build fails, see <http://trac.wxwidgets.org/ticket/11626>
4.5.3 (Cygwin 1.7) 2.9.5 Configured with --host=i686-w64-mingw32 --build=i686-pc-cygwin as explained in <http://wxwidgets.blogspot.com/2011/06/choosing-gcc-for-building-wxwidgets.html>.
If using wxWebView, insert two missing '}' characters at the lines pointed out by the compiler in /usr/i686-w64-mingw32/sys-root/mingw/include/mshtml.h
Borland C++ 5.5 Fixed with Patch ID 1902415. Was: Broken as of r51810 due to wxWeakRef changes. minimal Ok; larger programs should be built using -DSHARED=1 for library and program
5.6
5.8 (BCB 2006) minimal Ok; larger programs should be built using -DSHARED=1 for library and program
6.3 (CodeGear C++Builder 2008) r66666 minimal Ok
Open Watcom 1.6 / 1.7 53417 have issues with templates (2.8.7 is Ok with 1.6 and 1.7)
1.8 beta tested 30 April 53417 compiles, links and run ok
Digital Mars 8.50 ~50000 does not compile
Win64
(Windows XP/2003/Vista/2008/7/8/2012)
Microsoft Visual C++ 7.1 (a.k.a. 2003)
9.0 (a.k.a. 2008) 2.9.5
mingw64 4.4.0 (experimental)

Platforms supported by wxGTK

wxGTK can be compiled either using GTK+ 2 or GTK+ 1.2. The latter port is called wxGTK1 and is not actively maintained any more, although it is still supported for now. wxGTK2 should, in principle, work with any GTK+ 2 version but is mostly tested with GTK+ >= 2.4 as many of optional features are not available with GTK+ 2.2 or below and some features only work with GTK+ 2.12 or later.

OS Arch Compiler Version Last tested wx version Remarks
Linux
(2.4 or 2.6 kernel, glibc 2.x)
x86 g++ 2.95
3.2
3.3
3.4
4.0
4.1
4.4/4.5/4.6 2.9.3
4.7 (2012-01-28 snapshot) r70472 Building in C++11 mode requires the patch of r70556.
Intel C/C++ (icc) 9.1 r48901
10.0 r56828 PCH support works fine in this version (see below)
11.0 r56828 PCH support seems to be broken
Sun CC for Linux 5.11 2.9.3
x64 g++ 4.7 (2012-01-28 snapshot) r70472 Building in C++11 mode requires the patch of r70556.
NetBSD 3.1 amd64 g++ 3.3.3 r48909
FreeBSD 6.2 amd64 g++ 3.4.6 2.9.0
OpenBSD 4.2 x86 g++ 3.3.5 ~r45000
Solaris UltraSPARC IV+
Sun-Fire-V890
g++ 3.4.5 r49502
UltraSPARC IV+
Sun-Fire-V890
Sun CC 5.9 r49502
x86 Sun CC 5.12 2.9.3 Last OpenSolaris version (5.11 snv_134)
HP-UX 11.31 ia64 HP aC++ B3910B A.06.15 trunk r56786
HP-UX 11.11 PA HP aC++ 3.80 trunk r51426 CC="aCC -Ae" CXX="aCC -AA -ext"
AIX 5.3 IBM XL C/C++ 7.00 2.9.3

Platforms supported by wxX11/Univ

wxX11 port was recently tested in the following configurations:

OS Compiler Version Last tested wx version Remarks

Platforms supported by wxDFB

OS Compiler Version Last tested wx version Remarks

Platforms supported by wxMotif

wxMotif can be used either with Motif (version 2, version 1 might still be supported but is not tested as Motif 1 is rather difficult to find nowadays) or Lesstif.

OS Compiler Version Last tested wx version Remarks

Other ports

Other ports are limited to their native OS: wxMac builds under OS X, wxPM -- under OS/2 and so on.

Old cumulative platforms table

Here is the copy of the old page for the reference, testing results for the platforms not yet tested with wxWidgets 3.0 are welcome!

Platform Compiler Status Tested By Remarks
Win32 (Win 9x/NT/2K/XP) Visual C++ 4.2/5.x/6.0 Yes VZ, JS Project files are provided for all versions except 4.2
Borland C++ 5.0 Yes Also works with free command line Borland C++ 5.5
Mingw32 Yes GRG, VZ Cross compilation from Linux works as well. Version 2.95.2 recommended, otherwise some (included) patches must be applied. Memory debugging code doesn't seem to work well.
Cygwin Yes Stephane Junique
Andrea Venturoli
Tested under NT 4, cross-compiling for Mingw also works.
Watcom C++ 10 Partial JS Tested with 10.6: works, but wxImage seems to be broken. no support for JPEG, TIFF or OpenGL.
Watcom C++ 11 Yes Markus Neifer Tested with 11.0b under Win95.
Open Watcom 1.0 Yes Chris Elliott Tested with 1.0 under W2K(?).
Digital Mars (was Symantec C++) Yes Chris Elliott Tested with 8.34b.
Win64 (Windows XP/2003) Visual C++ 7.1 No Some minor corrections not done yet but will be in time for 2.6.0.
Win16 (Windows 3.1) Visual C++ 1.52 Partial Some features are missing (OLE related classes, threads, ...). Borland C++ can't cope with ODBC, resources and new wxGrid class. Last working version is wxWindows 2.2.7, support for Win16 has been abandoned in 2.4.x. and all traces of Win16 code were removed after cvs BEFORE_WIN16_REMOVAL tag.
Borland C++ 4.0/5.0 Partial JS
Linux x86 wxGTK with gcc 2.7.2 No Might work, but nobody uses it any more.
wxGTK with gcc 2.95--3.3 Yes VZ, RR
wxMotif Yes With LessTif 0.87
wxMotif Yes With OpenMotif
All BSD system tests are for wxGTK using gcc.
FreeBSD All versions between 3.2 and 5.1 on x86 Yes VZ
NetBSD 1.6, Alpha Yes VZ
OpenBSD 3.1, Alpha Yes VZ Some problems with shared libraries, ok with static ones.
Solaris wxMotif with Sun CC 4.2 Yes VZ Thread support must be disabled on system with not MT-safe X11.
wxMotif with gcc Yes
wxGTK with Sun CC 4.2 Yes
wxGTK with gcc Yes
wxGTK with Sun CC 5.0 and 6.1 (Solaris 7 and 8) Yes Jiri Mracek You have to edit line 2079 in glib.h to fix GTK+ error.
wxGTK 2.5.1 with Sun CC 6.2 (Solaris 6 and 8) Yes Carl Godkin Using GNU make.
AIX wxGTK 2.2.9 with gcc 3.0.4 Yes Ian Brown Shared library building doesn't work, use --disable-shared.
wxGTK 2.3.3 with xlC (AIX 4.3.2) Yes Irvin Probst Both static and shared wxGTK libraries work, but only with static GTK+ and GLib.
wxX11 2.4.2 with xlC 6 (AIX 5.1) Yes Swengtoo In 2.4.2 you need to remove parentheses from the configure line containing AIX_CXX_LD. You should also use GNU make.
wxMotif with xlC 3.1.4.0 (AIX 4.2) Yes Bernhard Eck Some problems with OpenGL and native X server.
wxMotif 2.6.2 with gcc 3.3 (AIX 5.2) Yes VZ Because of the bugs in gcc standard headers I had to use --disable-largefile. Both static and shared libraries work.
HP-UX HP-UX 10.20 wxGTK with HP CC A.10.22 or HP aCC B3910B A.01.18 Yes Staf Verhaegen You need to add -Aa -D_HPUX_SOURCE to CFLAGS.
HP-UX 10.20 wxGTK with gcc Yes Julian Albo Garcia
HP-UX B.11.00 wxGTK 2.6.2 with gcc 3.3.1 Yes Christoph Haller Remove /opt/imake/bin and /usr/sbin from PATH because they contain versions of install which don't work.
HP-UX 11i v1 PA-RISC, wxMotif 2.5.4, tried aCC A.03.57 and g++ 3.4.2 Yes Ian, Mike For a 32-bit PA-RISC build, if you want to use SHLIB_PATH to make it easier to use wxWidgets without installing it, then add LDFLAGS='-Wl,+s'. If you want to compile the test suite then aCC A.03.57 requires CXX='aCC -AA'. aCC can also be used as the C compiler instead of cc by adding CC='aCC -Ae'.
HP-UX 11i v2 IA64 wxMotif and wxGTK1 2.7.0, aCC A.06.05 or g++ 3.4 Yes Mike, VZ
IRIX Note that all entries use MIPSPro 7.3 compiler on IRIX 6.5 with default flags (i.e. in n32 mode) if not mentioned otherwise. Also note that you need to set LD_LIBRARYN32_PATH under IRIX to run wxWidgets programs.
wxGTK 2.2 Yes Ian You may need to use --disable-catch_segvs if you get compiler error in utilsunx.cpp.
wxGTK 2.5 Yes Carl Godkin
wxMotif 2.5 Yes David Marshall On IRIX 6.5.6 (Indigo2, 64bit), with SGI Motif 1.2.
wxMotif 2.6.2 Yes VZ IRIX 6.5.27m, both 32 and 64 bit with SGI Motif 2.1 using CC 7.4.4m.
SCO UnixWare wxGTK with gcc Yes William Suetholz UnixWare 2.1.3 with UnixWare 7 compatibility PTF.
DEC OSF/1 (a.k.a. Tru64) wxGTK with gcc Yes Fabrice Didierjean OSF1 4.0 on Dec Alpha you may need to run configure with the --host=alpha-dec-osf switch.
wxMotif1 2.7.0 (with Compaq/HP cxx 7.1) Yes VZ OSF1 5.1B on AlphaServer ES45. You must set BIN_SH to "xpg4" to use wx-config.
OS/2 wxOS2-2.4.x with VAC++ 3.0 Partial DW Support for this out-dated compiler has been given up for 2.5.
wxOS2 with EMX Partial SN
wxOS2 with EMX+gcc 3.2.1 Partial Dave Parsons
Innotek gcc 3.2.2 No DW This compiler uses an object format incompatible with the current X11 libraries, so forget about wxGTK/wxMotif/wxX11. CVS now supports building wxOS2, but linking does not yet work OOTB.
Open Watcom 1.0/1.1 No Again, object format is incompatible with X11 libs, so forget about wxGTK/wxMotif/wxX11. We would need somebody with enough time to dig into the build system and find out how to adapt OpenWatcom's makefiles (or rather bakefiles) for Windows to OS/2.
wxGTK with EMX Yes SN
wxMotif with EMX Yes SN With LessTif 0.89
wxX11 with EMX Yes SN
wxGTK with EMX+gcc 3.2.1 Yes
wxMotif with EMX+gcc 3.2.1 Yes With LessTif 0.89
wxX11 with EMX+gcc 3.2.1 Yes
OpenVMS wxGTK with Compaq-C++ V6.2 (OpenVMS Alpha 7.3) Yes Jouk Jansen
Linux S/390 wxGTK with gcc 2.95.2 Yes VZ 2.3.1+ only
Mac OS wxMac CFM (OS 8.6+) Yes SC With Metrowerks CodeWarrior 8.3
wxMac Mach-O (OS X) Yes SC CodeWarrior or Apple DevTools (gcc)
wxCocoa (OS X) Partial DE Apple DevTools (gcc)