MacOS X CodeWarrior 8 Setup Guide

From WxWiki

Jump to: navigation, search

This page describes the steps required to compile wxWidgets and the 'Minimal' sample project on OS X with CodeWarrior 8 ('Carbon Debug' target). The following steps apply for wxMac-2.4.2.

Open wxWindowsM7.mcp (from the /src folder). Select Convert for all of the projects (wxWindowsM7, jpegM7.mcp, etc.).

Don't make yet...

Open the following projects and make them:

  • tiffM7.mcp (/src/tiff) -> Target: PPC Debug
  • jpegM7.mcp (/src/jpeg) -> Target: PPC
  • pngM7.mcp (/src/jpeg) -> Target: PPC
  • zlibM7.mcp (/src/zlib) -> Target: PPC

Now go back to the wxWindowsM7 project and make the following targets:

  • wxlib Carbon Debug
  • wxlib Carbon resources
  • wxlib PPC resources

open minimalM7.mcp (/samples/minimal).

Select Convert.

Choose the Carbon Debug terget.

Under Edit -> Carbon Debug Settings... -> Language Settings -> C/C++ Language remove the first forward slash from the Prefix File (/wx/wx_cwc_d.h) and save.

Make.

Run.

Personal tools