• 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
Precompiled headers failing to build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Precompiled headers failing to build


  • Subject: Precompiled headers failing to build
  • From: Jeremy Faller <email@hidden>
  • Date: Wed, 17 Nov 2004 19:37:57 -0500

All:

I have been working simple Cocoa project, and have encountered a problem I think has to do with precompiled headers. The problem seems to be that the precompiled header is not being rebuilt, and I am getting errors that the compiler doesn't recognize the Cocoa.h header file. Here's the error:

<x-tad-smaller>In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:45,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:7,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from MacFreq_Prefix.pch:6:
/Users/jfaller/Desktop/MacFreq/Source/Signal.h:16: error: parse error before "NSBezierPath"
/Users/jfaller/Desktop/MacFreq/Source/Signal.h:17: error: cannot find interface declaration for `NSObject', superclass of `Signal'
from MacFreq_Prefix.pch:6:
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:7,
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:45,
/Users/jfaller/Desktop/MacFreq/Source/Signal.h:16: error: parse error before "NSBezierPath"
/Users/jfaller/Desktop/MacFreq/Source/Signal.h:17: error: cannot find interface declaration for `NSObject', superclass of `Signal'

</x-tad-smaller>
<x-tad-smaller>I have reinstalled the development tools, but the problem persists. Has anyone seen this, and knows how to fix it?


Thanks in advance.</x-tad-smaller><x-tad-smaller>
</x-tad-smaller>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Precompiled headers failing to build
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: HTML Parsing in Objective-C?
  • Next by Date: Question about the NSPrintPanel
  • Previous by thread: Re: [NSMatrix putCell:] raising an exception
  • Next by thread: Re: Precompiled headers failing to build
  • Index(es):
    • Date
    • Thread