-wxWidgets 2.6.2 for Motif installation
-------------------------------------
+wxWidgets for Motif 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: wxMotif 2.6.2, gcc 2.95.4, Redhat 6.1
+ example: wxMotif 2.8.1, gcc 2.95.4, Redhat 6.1
First steps
-----------
Using configure is the only way to build the library. If it doesn't
work for you for whatever reason, please report it (together with detailed
information about your platform and the (relevant part of) contents of
- config.log file) to wx-dev@lists.wxwindows.org.
+ config.log file) to wx-dev@lists.wxwidgets.org.
COMPILING USING CONFIGURE
The SGI native compiler support has only been tested on Irix 6.5.
+* Building wxMotif 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
---------------------------
minimal: minimal.o
$(CXX) -o minimal minimal.o `wx-config --libs`
-minimal.o: minimal.cpp mondrian.xpm
+minimal.o: minimal.cpp
$(CXX) `wx-config --cxxflags` -c minimal.cpp -o minimal.o
clean:
rm -f *.o minimal
-This is certain to become the standard way unless we decide
-to stick to tmake.
-
If your application uses only some of wxWidgets libraries, you can
specify required libraries when running wx-config. For example,
`wx-config --libs=html,core` will only output link command to link
Please send bug reports with a description of your environment,
compiler and the error message(s) to the wxwin-developers mailing list at:
- wx-dev@lists.wxwindows.org
+ wx-dev@lists.wxwidgets.org
Julian Smart, Robert Roebling and Vadim Zeitlin, November 1999.