diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-24 20:53:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-24 20:53:36 +0000 |
| commit | bfeac786938694247b749fadfed2a01b76d8f17f (patch) | |
| tree | 73fea4b1b4902618d1af13b262d21920e2fa48aa /README.OSX.txt | |
| parent | 757752d164ecd9464a7943fb85783e67cf914c4f (diff) | |
Trying to bring the Xcode 3 OS X builds to a better standard, including automatic builds and project templates. 1 of 3 done.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'README.OSX.txt')
| -rw-r--r-- | README.OSX.txt | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/README.OSX.txt b/README.OSX.txt index c0af43703..eec18a824 100644 --- a/README.OSX.txt +++ b/README.OSX.txt @@ -21,9 +21,10 @@ README.OSX.txt - 2010-10-23 - Building FLTK under Apple OS X 3.3 Configuring FLTK 3.4 Building FLTK 3.5 Testing FLTK - 3.6 Installing FLTK - 3.7 Installing Little Helpers - 3.8 Creating new Projects + 3.6 Uninstalling previous versions of FLTK + 3.7 Installing FLTK + 3.8 Installing Little Helpers + 3.9 Creating new Projects 4 DOCUMENT HISTORY @@ -210,26 +211,48 @@ Use the "Project" pulldown menu to set the "Active Target" to "Demo". Select explore all test programs. + Uninstalling previous versions of FLTK +---------------------------------------- + +Remove FLTK frameworks: + + sudo rm -r /Library/Frameworks/fltk*.framework + +Remove Fluid and other possibly utilities: + + sudo rm -r /Developer/Applications/Utilities/ + + Installing FLTK ----------------- All FLTK frameworks should be copied from "./ide/Xcode3/build/Debug/" or -"./ide/Xcode3/build/Release/" to "/Library/Frameworks/". The matching header -files must be copied from "./FL/" to "/usr/local/include/FL/". +"./ide/Xcode3/build/Release/" to "/Library/Frameworks/". All required FLTK +header files will be at "/Library/Frameworks/fltk.framework/Headers/" which +should be added to the header search path. + + sudo cp -R ide/Xcode3/build/Debug/fltk*.framework /Library/Frameworks/ + +Many FLTK applications will use Fluid, the FLTK User Interface builder, to +generate C++ source code from .fl resource files. Add Fluid to the developer +tools: + + sudo mkdir /Developer/Applications/Utilities/FLTK/ + sudo cp -R ide/Xcode3/build/Debug/Fluid.app /Developer/Applications/Utilities/FLTK/ Installing Little Helpers --------------------------- +FIXME: + Xcode can learn how to create FLTK projects for you. To add FLTK projects as a new project template for Xcode 3, copy "./ide/Xcode3/Project Templates/" to -"$(HOME)/Library/Application Support/Developer/Shared/Xcode/" and restart Xcode. +"~/Library/Application Support/Developer/Shared/Xcode/" and restart Xcode. -FIXME: Projects that are generated using this template expect fltk 1.3 as it is installed using the command line. Also, you will need to add the "AudioToolbox.framework" manually which is needed to create warning beeps. -END OF FIXME. Xcode can also handle the .fl file extension to edit and compile Fluid resource files for you. The template project contains custom build rules for .fl files. @@ -246,6 +269,8 @@ Specifications/fluid.pbfilespec" and add the following lines: Extensions = (fl); } +END OF FIXME. + Creating new Projects ----------------------- |
