]> git.saurik.com Git - wxWidgets.git/blame - docs/cocoa/install.txt
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
[wxWidgets.git] / docs / cocoa / install.txt
CommitLineData
834d36af
VZ
1----------------------------------------------------------------------------
2NB: This is the old wxCocoa port, you almost certainly want to read
3 docs/osx/install.txt for instructions about building wxOSX/Cocoa instead.
4----------------------------------------------------------------------------
5
abf7c277
DE
6wxCocoa is still a work in progress.
7
8To compile it, you will need Apple's Developer Tools. However, please
9note that any work to make it suitable for GNUstep (which will require
10a GCC release with Objective-C++) will be much appreciated.
11
457611b5
DE
12Some users also report success with Metrowerks CodeWarrior IDE and I've even
13on occasion used the command-line MW compilers (see docs/metrowerks) with
14configure instead of GCC and Apple's LD.
15
16Like most UNIX ports, the standard configure/make method works. You should
17be able to build the library as static or shared. I usually build static.
abf7c277
DE
18
19On my system I have the following:
20
21Checked out CVS source is in:
fc2171bd 22/Users/dfe/devel/wxHEADcommit/wxWidgets
abf7c277
DE
23Debug build directory is:
24/Users/dfe/devel/wxHEADcommit/BUILD_COCOAd
25
26From the debug build directory:
fc2171bd 27$ ../wxWidgets/configure --with-cocoa --enable-debug --disable-shared
abf7c277
DE
28$ make
29$ cd samples/minimal
30$ make
457611b5
DE
31$ ./minimal.app/Contents/MacOS/minimal
32
33Like wxMac applications, wxCocoa applications are "bundled". For development
34purposes all this means is that an executable named "foo" needs to be
35inside a "foo.app/Contents/MacOS" directory. For deployment you will need
36an appropriate Info.plist and PkgInfo inside the foo.app/Contents directory.
37
38wxCocoa (and Cocoa in general) has no need for Mac OS resources. It
39certainly has no need for resource forks as no Mach-O applications should
40_ever_ have resource forks (note: Bakefile violates this right now).
41Please see the wxWiki and/or discuss this with wx-users before shipping
42any wxCocoa apps if you are new to the OS X platform.