source: tuxpaint-config/trunk/fuentes/macosx/Read Me.txt @ 220

Last change on this file since 220 was 220, checked in by mabarracus, 4 years ago

added tuxpaint-config sources from trusty

File size: 2.7 KB
1Tux Paint Config XCode 2.4 Project
2notes by Martin Fuhrer <>
4This Tux Paint Config project file is located in a folder titled "macosx", which should in turn be placed in the root folder of the Tux Paint Config source code distribution.  You will require Mac OS X 10.4 and XCode 2.4 or later to build this project.
6This XCode project has been configured under the assumption that  you have certain libraries and files installed in particular locations under Mac OS X.  This file indicates what you must install, and where these items go.  Some of the libraries are installed via the MacPorts package manager, which can be downloaded from <>. The Fink package manager <> may also be used.
9-- FLTK --
11Install FLTK for Aqua via MacPorts: 
12% port install fltk +aqua +universal
14By default, MacPorts will place the libraries in /opt/local/lib.  These libraries will be statically linked into the Tux Paint binary.
17-- Universal and Cross Development --
19Tux Paint Config can be built for PowerPC, Intel, or both (as a universal binary).  MacPorts takes care of building universal versions of the FLTK libraries via the +universal variant. For more information on building universal binaries, see <>.
21To set the target platform for your build:
221) Choose Project > Edit Active Target 'Tux Paint Config'
232) Click the Build tab.
243) Set Configuration to "All Configurations" and Collection to "Customized Settings"
254) Select the "Architectures" setting and click the Edit button.
265) Select PowerPC, Intel, or both.
28In order to allow the Tux Paint Config application to run on older versions of Mac OS X, it is necessary to compile and link against an older version of the Mac OS X SDK (eg. Mac OS X 10.2.8) using an older version of gcc (eg. gcc 3.3).  Various versions of the Mac OS X SDKs and gcc can be installed from the XCode Installation DVD or disk image.  Note that any libraries Tux Paint Config links against (eg. libraries installed by MacPorts) should also be compiled and linked against the same SDK, using the same version of gcc.  Universal binary and Intel applications must be compiled using gcc 4.0 and the Mac OS X 10.4u SDK.
30To set the desired Mac OS X SDK:
311) Choose Project > Edit Project Settings
322) Click on the General tab.
332) Choose the desired SDK from the "Cross-Develop Using Target SDK" menu.
35To set the desired compiler version:
361) Choose Project > Edit Active Target 'Tux Paint Config'
372) Click on the Rules tab.
383) Set the desired associations between file types (eg. C++ source files) and the compiler version (eg. GCC 3.3).
Note: See TracBrowser for help on using the repository browser.