-wxWidgets 2.6 for GTK+ installation
------------------------------------
+wxWidgets for GTK+ installation
+-------------------------------
IMPORTANT NOTE:
When sending bug reports tell us what version of wxWidgets you are
using (including the beta) and what compiler on what system. One
- example: wxGTK 2.6.3, gcc 3.4.5, Fedora Core 4
+ example: wxGTK 2.8.0, gcc 3.4.5, Fedora Core 4
* The simplest case
-------------------
make
cd ..
-Note that since wxWidgets-2.6.0 you can install all those libraries
-concurrently, you just need to pass the appropriate flags when using them.
+Note that you can install all those libraries concurrently, you just need to
+pass the appropriate flags when using them.
* The simplest errors
---------------------
The SGI native compiler support has only been tested on Irix 6.5.
+* Building wxGTK on Cygwin
+--------------------------
+
+The normal build instructions should work fine on Cygwin. The one difference
+with Cygwin is that when using the "--enable-shared" configure option (which
+is the default) the API is exported explicitly using __declspec(dllexport)
+rather than all global symbols being available.
+
+This shouldn't make a difference using the library and should be a little
+more efficient. However if an export attribute has been missed somewhere you
+will see linking errors. If this happens then you can work around the
+problem by setting LDFLAGS=-Wl,--export-all-symbols. Please also let us know
+about it on the wx-dev mailing list.
+
* Create your configuration
---------------------------
Normally, you won't have to choose a toolkit, because when
you download wxGTK, it will default to --with-gtk etc. But
-if you use all of our CVS repository you have to choose a
+if you use all of our SVN repository you have to choose a
toolkit. You must do this by running configure with either of:
--with-gtk=2 Use the GTK+ 2.0. Default.
--with-odbc Enables ODBC code. This is disabled
by default because iODBC is under the
L-GPL license which is less liberal than
- wxWidgets license.
+ wxWindows licence.
--without-libpng Disables PNG image format code.
Using this way, a make file for the minimal sample would look
like this
-CC = gcc
+CXX = g++
minimal: minimal.o
- $(CC) -o minimal minimal.o `wx-config --libs`
+ $(CXX) -o minimal minimal.o `wx-config --libs`
-minimal.o: minimal.cpp mondrian.xpm
- $(CC) `wx-config --cxxflags` -c minimal.cpp -o minimal.o
+minimal.o: minimal.cpp
+ $(CXX) `wx-config --cxxflags` -c minimal.cpp -o minimal.o
clean:
rm -f *.o minimal