install.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ----------------------------------------------------------------------------
  2. NB: 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. wxCocoa is still a work in progress.
  6. To compile it, you will need Apple's Developer Tools. However, please
  7. note that any work to make it suitable for GNUstep (which will require
  8. a GCC release with Objective-C++) will be much appreciated.
  9. Like most UNIX ports, the standard configure/make method works. You should
  10. be able to build the library as static or shared. I usually build static.
  11. On my system I have the following:
  12. Checked out CVS source is in:
  13. /Users/dfe/devel/wxHEADcommit/wxWidgets
  14. Debug build directory is:
  15. /Users/dfe/devel/wxHEADcommit/BUILD_COCOAd
  16. From the debug build directory:
  17. $ ../wxWidgets/configure --with-cocoa --enable-debug --disable-shared
  18. $ make
  19. $ cd samples/minimal
  20. $ make
  21. $ ./minimal.app/Contents/MacOS/minimal
  22. Like wxMac applications, wxCocoa applications are "bundled". For development
  23. purposes all this means is that an executable named "foo" needs to be
  24. inside a "foo.app/Contents/MacOS" directory. For deployment you will need
  25. an appropriate Info.plist and PkgInfo inside the foo.app/Contents directory.
  26. wxCocoa (and Cocoa in general) has no need for Mac OS resources. It
  27. certainly has no need for resource forks as no Mach-O applications should
  28. _ever_ have resource forks (note: Bakefile violates this right now).
  29. Please see the wxWiki and/or discuss this with wx-users before shipping
  30. any wxCocoa apps if you are new to the OS X platform.