• 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: Build menu Compile and preprocess items are disabled.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build menu Compile and preprocess items are disabled.


  • Subject: Re: Build menu Compile and preprocess items are disabled.
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 23 Jun 2004 08:51:43 -0700

On Jun 23, 2004, at 8:35 AM, George Warner wrote:

So I wish to preprocess the header file to see what is happening, yet
in the Build menu neither the Compile nor Preprocess items are enabled.
Even if I open the files in a separate window. In fact this is true for
any .cpp or .h file in this project opened in a separate window.

Again, it's probably the internal path references being absolute. But it may
be that the target isn't native. If it's not then you may need to "Upgrade
to Native Target" (in the "Project" menu).

The other common cause for this is that the file in question doesn't belong to the current target. Command-click the header in the Groups and FIles pane and pick "Target Membership", and it'll show you check boxes for the files that are members of the current target. Either change the target or check the box on the .cpp file.


By the way, .h files can't be Compiled or Preprocessed on their own. Try compiling or preprocessing a .c or .ccp file that #includes them.

Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >re: Build menu Compile and preprocess items are disabled. (From: George Warner <email@hidden>)

  • Prev by Date: re: prebinding error
  • Next by Date: re: key bindings for file navigation
  • Previous by thread: re: Build menu Compile and preprocess items are disabled.
  • Next by thread: prebinding error
  • Index(es):
    • Date
    • Thread