• 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: export PowerPlant CW9 project into xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: export PowerPlant CW9 project into xcode


  • Subject: Re: export PowerPlant CW9 project into xcode
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 2 Apr 2008 17:13:16 +0200

As I said, without the transcript we cannot determine why it fails. 

«You can drag and drop most of the interesting information you need  
right from Xcode into the New Mail window.  Look in the Xcode Build  
Results, for example.  If you find a step labeled "Compiling main.c (1  
warning)" and you drag that step into an outgoing Mail message, here's  
what you get: ...»

from http://www.cocoabuilder.com/archive/message/xcode/2008/4/2/20667.


That said, when you include a file, there is two syntax possible.

#include "myHeader.h"
#include <LibraryHeader.h>

If you use simple quote, the precompiler will search you header relative to the file that include it, or it will search in all header you include in your target (and in "User Header Search Path").
If you use the '< >' syntax, the precompiler will search in system directories (/usr/include, ...) and in "Header Search Path".

If you are using '< >', you should change the header search path, not the user header search path:

HEADER_SEARCH_PATHS =  "/Applications/Metrowerks CodeWarrior 9.0/Metrowerks CodeWarrior/MacOS Support/PowerPlant"


PS: There is also an other line in the monthly reminder that you may note before Chris wake up:

«First things first: It's Xcode, not xCode or XCode or x-code.  Remember that now.»


Le 2 avr. 08 à 17:55, Liron Gefen a écrit :
Hi,
I started my journey with xcode(http://developer.apple.com/documentation/DeveloperTools/Conceptual/MovingProjectsToXcode)
but no luck so far :-(
I am trying to export one of CW9 examples (New Project-> Mac Os PowerPlant stationary->Mach-0 target->"Basic" project)
on my 10.4.3 into xcode according to the "Make Changes to PowerPlant" section:
Add PowerPlant Headers to the Project and Target 
Create a Prefix File for PowerPlant 
Make Minor Changes to the PowerPlant Code 
1) When i imported the project all the power plant files were shown as part of the project
but they were missing (marked in red) so I added all the files.
2) I created an Xcode prefix header file for PowerPlant as described.(PP_Xcode.h prefix file )
3)I turned on "Always Search User Paths" in  the project settings and filled  in the relative
path to my PowerPlant framework with checking on the recursive box:
User Search Path = "/Applications/Metrowerks CodeWarrior 9.0/Metrowerks CodeWarrior/MacOS Support/PowerPlant"
 
The compilation result is still "No such file or directory"
when the PP_Xcode.h prefix file is compiled.
Am i suppose to go into each pp file and change the include sentence from 
#include <some_PP_file.h> to #include "some_PP_file.h"?
(e.g #include <LAction.h> to #include "LAction.h")
If so, how come the documented prefix file contains brackets?
 
Is there an elaborated information somewhere on exporting a PowerPlant project? or maybe even some sample application?
Thank you in advance for the help...
Liron

 _______________________________________________
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: 
 >export PowerPlant CW9 project into xcode (From: "Liron Gefen" <email@hidden>)

  • Prev by Date: export PowerPlant CW9 project into xcode
  • Next by Date: How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
  • Previous by thread: export PowerPlant CW9 project into xcode
  • Next by thread: Re: export PowerPlant CW9 project into xcode
  • Index(es):
    • Date
    • Thread