• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: porting a codewarrior project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting a codewarrior project


  • Subject: Re: porting a codewarrior project
  • From: Andrew Pontious <email@hidden>
  • Date: Mon, 9 May 2005 17:00:50 -0700

I am trying to port my application to xcode from codewarrior. I read through the guide on the web, and I've done most of the steps they recommend before importing. I'm stuck on removing MSL_Libraries and precompiled headers. Should I be able to get my CW project to compile in CW once I have removed the MSL libraries and replaced them with the Apple one? I tried it with just the CW stationery project as a test, and I am getting errors about "MacTypes.h" not being recognized.

Be sure the Carbon framework has been added to your project, and remove any explicit reference to "MacTypes.h" in your code. Anywhere that is used, replace it with:


#include <Carbon/Carbon.h>

if that include isn't already somewhere in that source code or header file.

In the "Moving Projects From CodeWarrior to Xcode" guide, see esp.:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/ MovingProjectsToXcode/mig_bef_converting/chapter_3_section_4.html#// apple_ref/doc/uid/20001708-//apple_ref/doc/uid/20001710-TPXREF134

I'm pretty much clueless about low-level compiler stuff, anything below source code, so I imagine this process is going to be painful.

This isn't really low-level compiler arcana: this is about frameworks in OS X, something you'll want to familiarize yourself with to do OS X development in Xcode.


I would recommend having a look at the sample Xcode Carbon projects that come with the Xcode Tools, to see how they're set up. You won't understand everything immediately: that's OK. Read the Xcode User Guide! (Available from Xcode Help.)

You may also want to try to make an Xcode project from scratch and see if you can recreate your CodeWarrior project manually. You may eventually wind up using the CW->Xcode importer to port your project, but these other activities will help you get familiar enough with Xcode to deal with the things the importer doesn't do for you automatically.


-- Andrew Pontious

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >porting a codewarrior project (From: Bobito <email@hidden>)

  • Prev by Date: Re: Two enhancement requests
  • Next by Date: Re: Two enhancement requests
  • Previous by thread: porting a codewarrior project
  • Next by thread: Creating Xcode templates
  • Index(es):
    • Date
    • Thread