X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/551d48eda10fe179af024519ee5f18b474677cdc..ce6878e638ddf4efc75cf89a11e3f2171627b6c7:/wxPython/docs/BUILD.html diff --git a/wxPython/docs/BUILD.html b/wxPython/docs/BUILD.html index 26f00f4817..6d659d8e12 100644 --- a/wxPython/docs/BUILD.html +++ b/wxPython/docs/BUILD.html @@ -74,16 +74,31 @@ cd bld ../configure --prefix=/opt/wx/2.5 \ --with-gtk \ --with-opengl \ - --disable-monolithic \ --enable-debug \ --enable-geometry \ --enable-sound --with-sdl \ --enable-display \
On OS X of course you'll want to use --with-mac instead of ---with-gtk. For GTK2 and unicode add:
+--with-gtk. +NOTE: Due to a recent change there is a dependency problem in the +multilib builds of wxWidgets on OSX, so I have switched to a +monolithic build on that platform. (IOW, all of the core code in +one shared library instead of several.) I would also expect other +unix builds to do just fine with a monolithic library, but I havn't +tested it in a while so your mileage may vary. Anyway, to switch +to the monolithic build of wxWidgets just add this configure flag:
++--enable-monolithic \ ++
By default GTK2 will be selected if it is on your build system. To +force the use of GTK 1.2.x add this flag:
++--disable-gtk2 \ ++
To make the wxWidgets build be Unicode enabled (strongly +recommended if you are building with GTK2) then add:
---enable-gtk2 \ --enable-unicode \
Notice that I used a prefix of /opt/wx/2.5. You can use whatever @@ -159,10 +174,17 @@ command line to ensure your new one is used instead:
WX_CONFIG=/opt/wx/2.5/bin/wx-config-
If you are building with GTK2 then add the following flags to the -command line:
+By default setup.py will assume that you built wxWidgets to use +GTK2. If you built wxWidgets to use GTK 1.2.x then you should add +this flag to the command-line:
-WXPORT=gtk2 UNICODE=1 +WXPORT=gtk2 ++
If you would like to do a Unicode enabled build (all strings sent +to or retruned from wx functions are Unicode objects) and your +wxWidgets was built with unicode enabled then add this flag:
++UNICODE=1
If you are wanting to have the source files regenerated with swig, then you need to turn on the USE_SWIG flag and optionally tell it