]> git.saurik.com Git - wxWidgets.git/blame - docs/cocoa/install.txt
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / docs / cocoa / install.txt
CommitLineData
abf7c277
DE
1wxCocoa is still a work in progress.
2
3To compile it, you will need Apple's Developer Tools. However, please
4note that any work to make it suitable for GNUstep (which will require
5a GCC release with Objective-C++) will be much appreciated.
6
7For the time being, the standard configure/make method works. You will
8want to build static because there are a number of unimplemented functions
fc2171bd 9that a shared library will need (becuase of wxWidgets code internally using
abf7c277
DE
10them) but that a static library will not (because most of the samples
11don't need it).
12
13On my system I have the following:
14
15Checked out CVS source is in:
fc2171bd 16/Users/dfe/devel/wxHEADcommit/wxWidgets
abf7c277
DE
17Debug build directory is:
18/Users/dfe/devel/wxHEADcommit/BUILD_COCOAd
19
20From the debug build directory:
fc2171bd 21$ ../wxWidgets/configure --with-cocoa --enable-debug --disable-shared
abf7c277
DE
22$ make
23$ cd samples/minimal
24$ make
25$ ./minimal
26
27You may also need to configure the library --without-expat. It didn't
28build last time I checked, but then again, several improvements have
29been made since then.
30
31For other samples, you will need to provide at the very least an empty
32resource fork so the OS will recognize it as a GUI application.
33
34From the debug build directory:
35$ cd samples/drawing
36$ make
37$ true | /Developer/Tools/Rez -t APPL -o drawing
38$ ./drawing
39
40Note that the empty resource fork doesn't actually allow the app to be
41started from the Finder (it thinks it's a classic app!) but does allow
42it to run with a menubar and proper event handling from the command line.
43
44I suspect (but am uncertain) that if we provided an empty plist resource
45that the app would be recognized as a proper OS X application. Obviously,
46bundles would be preferrable, and any work on Bakefile (see
47http://bakefile.sf.net/) would be much appreciated. wxMac also needs
48bundle building restored since the switch to Bakefile.
49