-wxWidgets 2.6.2 for MGL installation
-------------------------------------
+wxWidgets for MGL installation
+------------------------------
IMPORTANT NOTE:
+ wxMGL is currently in need of some work to bring it up to the
+ standard of some of the other wxWidgets ports.
+
If you experience problems installing, please re-read these
instructions and other related files (todo.txt, bugs.txt and
osname.txt for your platform if it exists) carefully before
When sending bug reports tell us what version of wxWidgets you are
using (including the beta) and what compiler on what system. One
- example: wxMGL 2.6.2, gcc 2.95.3, Redhat 7.0
+ example: wxMGL 2.8.0, gcc 2.95.3, Redhat 7.0
First steps
-----------
needed libraries. See an example of wxWidgets application makefile:
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
* Using configure to build MS-DOS version
> ./configure --with-mgl --build=i586-linux --host=i586-pc-msdosdjgpp
> make
-For this to work, you must have installed a cross compiler on your system. Ready
-made binaries are not available for very many systems, so usually this means you
-must obtain the djgpp sources and compile them yourself.
+For this to work, you must have installed a cross compiler on your system.
+
+Linux rpms are available here:
+ http://ap1.pp.fi/djgpp/gcc/cross-compiler/index.html
-NetBSD does have a binary package which can be installed with:
+NetBSD has a binary package which can be installed with:
# pkg_add cross-i386-msdosdjgpp
-You can also try asking on the wx-dev mailing list. If someone else has already
-built a cross-compiler for you platform they may be willing to send you the
-binaries.
+For other systems you will need to obtain the djgpp sources and compile them
+yourself.
* Building wxMGL for MS-DOS using Watcom C/C++
!include $(WXDIR)\src\mgl\makeprog.wat
-Compilation notes for MGL with DJGPP
-------------------------------------
+Compilation notes for MGL with gcc
+----------------------------------
The mvis library doesn't compile with current versions of gcc. However wxMGL
does not use this part of MGL, so it can be taken out of the compile, e.g.:
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
Vaclav Slavik, Julian Smart, Robert Roebling and Vadim Zeitlin, February 2002.
Mike Wetherell 2005/2006