File: install.txt

package info (click to toggle)
wxwidgets3.0 3.0.5.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 120,464 kB
  • sloc: cpp: 896,633; makefile: 52,303; ansic: 21,971; sh: 5,713; python: 2,940; xml: 1,534; perl: 264; javascript: 33
file content (38 lines) | stat: -rw-r--r-- 1,686 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
----------------------------------------------------------------------------
NB: This is the old wxCocoa port, you almost certainly want to read
    docs/osx/install.txt for instructions about building wxOSX/Cocoa instead.
----------------------------------------------------------------------------

wxCocoa is still a work in progress.

To compile it, you will need Apple's Developer Tools.  However, please
note that any work to make it suitable for GNUstep (which will require
a GCC release with Objective-C++) will be much appreciated.

Like most UNIX ports, the standard configure/make method works.  You should
be able to build the library as static or shared.  I usually build static.

On my system I have the following:

Checked out CVS source is in:
/Users/dfe/devel/wxHEADcommit/wxWidgets
Debug build directory is:
/Users/dfe/devel/wxHEADcommit/BUILD_COCOAd

From the debug build directory:
$ ../wxWidgets/configure --with-cocoa --enable-debug --disable-shared
$ make
$ cd samples/minimal
$ make
$ ./minimal.app/Contents/MacOS/minimal

Like wxMac applications, wxCocoa applications are "bundled".  For development
purposes all this means is that an executable named "foo" needs to be
inside a "foo.app/Contents/MacOS" directory.  For deployment you will need
an appropriate Info.plist and PkgInfo inside the foo.app/Contents directory.

wxCocoa (and Cocoa in general) has no need for Mac OS resources.  It
certainly has no need for resource forks as no Mach-O applications should
_ever_ have resource forks (note: Bakefile violates this right now).
Please see the wxWiki and/or discuss this with wx-users before shipping
any wxCocoa apps if you are new to the OS X platform.