Updates to readmes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -100,7 +100,7 @@ D. If using the sources (either from the tarball or from CVS) then
|
||||
cd wxWindows # or whatever your top-level directory is called
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --with-gtk
|
||||
../configure --with-gtk --enable-geometry
|
||||
|
||||
There are gobs and gobs of options for the configure script, run
|
||||
../configure --help to see them all. I'll describe some that I find
|
||||
@@ -118,33 +118,6 @@ D. If using the sources (either from the tarball or from CVS) then
|
||||
special debugging code in wxWindows by defining the __WXDEBUG__
|
||||
macro. You'll get some extra asserts, failure logging, etc.
|
||||
|
||||
To make a static library and not make a shared library, use the
|
||||
--disable-shared and --enable-static flags.
|
||||
|
||||
NOTE: There is a potential type mismatch between Python and wxGTK.
|
||||
This happens if Python defines some flags that turn on 64-bit file
|
||||
offset support and wxGTK does not. This causes some basic types,
|
||||
like off_t, to be typedef'd differently causing the C++ method
|
||||
signatures to be incompatible and giving link errors at runtime.
|
||||
If you get errors upon running a wxPython script that looks
|
||||
something like this:
|
||||
|
||||
SeekI_13wxInputStream10wxSeekMode: referenced symbol not found
|
||||
|
||||
then that is probably the issue. This can be fixed in the current
|
||||
code by predefining these flags before wxGTK's configure is run,
|
||||
for example:
|
||||
|
||||
export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_LARGEFILE_SUPPORT"
|
||||
export CXXFLAGS=$CFLAGS
|
||||
../configure --with-gtk --with-opengl --enable-debug
|
||||
|
||||
In the 2.3.3 final release there will be a real configure flag for
|
||||
it, and it should be enabled by default. You will be able to use
|
||||
--enable-largefile or --disable-largefile to control it. If you
|
||||
still get this or a similar error with 2.3.3 then try disabling
|
||||
largefile support in wxGTK.
|
||||
|
||||
E. Now just compile and install. You need to use GNU make, so if your
|
||||
system has something else get GNU make and build and install it and
|
||||
use it instead of your system's default make command.
|
||||
|
Reference in New Issue
Block a user