2007-02-06 22:44:10 +03:00
|
|
|
README.mac - 2007-02-06 - Building FLTK under MacOS X
|
2002-10-04 06:30:34 +04:00
|
|
|
-----------------------------------------------------
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-06 03:17:47 +03:00
|
|
|
CONTENTS
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
- Introduction
|
|
|
|
- How to Build Using GCC (MacOS X)
|
|
|
|
- Scripts
|
|
|
|
- Known MacFLTK bugs
|
|
|
|
- Test suite status
|
|
|
|
- Other stuff
|
|
|
|
- FLTK 1.0.x for Mac
|
2001-12-04 06:03:17 +03:00
|
|
|
|
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
INTRODUCTION
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
FLTK currently supports the following development
|
|
|
|
environments on the MacOS X platform:
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
- GCC
|
2002-10-04 06:30:34 +04:00
|
|
|
- Metrowerks CodeWarrior
|
2001-12-20 17:41:44 +03:00
|
|
|
- (Apple Project Builder - future releases)
|
|
|
|
- (MPW - future releases)
|
2001-12-04 06:03:17 +03:00
|
|
|
|
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
HOW TO BUILD USING GCC (MacOS X)
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
Since the MacOS X command line build environment is based on
|
|
|
|
BSD UNIX, the normal UNIX build procedure as described in
|
|
|
|
'README' applies.
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-06 03:17:47 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
KNOWN MacFLTK BUGS
|
2001-12-06 03:17:47 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
The following FLTK things are not implemented or don't work
|
|
|
|
at present:
|
2001-12-06 03:17:47 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
- Line styles are not fully implemented.
|
|
|
|
- Sub-sub-subwindow not tested.
|
|
|
|
- The 'shiny' demo needs work (flush/aglFlush).
|
2001-12-06 03:17:47 +03:00
|
|
|
|
2008-05-22 01:18:53 +04:00
|
|
|
UNIVERSAL BINARES
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2008-05-22 01:18:53 +04:00
|
|
|
To create Universal Binaries for Tiger, start "configure"
|
|
|
|
with the following flags:
|
|
|
|
./configure --with-archflags="-mmacosx-version-min=10.4\
|
|
|
|
-arch i386 -arch ppc"
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
OTHER STUFF
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
The creator ID's 'FLTK', 'Fltk', 'FLID', and 'Flid' are
|
|
|
|
officially registered with Apple Computers, Inc. and can be
|
|
|
|
used for FLTK applications ('FLTK') and FLUID files
|
|
|
|
('Flid').
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
Under MacOS X, all windows are double-buffered. Using
|
|
|
|
Fl_Window has the same effect as using Fl_Double_Window on
|
2002-01-03 11:08:21 +03:00
|
|
|
other operating systems. Fl_Overlay_Window however uses one
|
2001-12-22 10:16:12 +03:00
|
|
|
additional buffer for the overlay plane.
|
2001-12-04 06:03:17 +03:00
|
|
|
|
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
FLTK 1.0.X FOR MAC
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
FLTK 1.0.6 for MacOS 8.x and OS 9.x is in beta stage and can
|
2002-01-03 11:08:21 +03:00
|
|
|
be downloaded from http://www.matthiasm.com/flMac.html .
|
2001-12-20 17:41:44 +03:00
|
|
|
The archive contains build files for Metrowerks CodeWarrior
|
|
|
|
5 and 6.
|
2001-12-04 06:03:17 +03:00
|
|
|
|
2001-12-20 17:41:44 +03:00
|
|
|
FLTK 1.0.6 for Mac is not supported by the FLTK team and
|
2002-10-04 06:30:34 +04:00
|
|
|
will not be further developed by the author.
|