• 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
c++ includes in a Framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c++ includes in a Framework?


  • Subject: c++ includes in a Framework?
  • From: Andy Wiese <email@hidden>
  • Date: Sun, 21 Nov 2004 02:48:59 -0600

Up to now, I have been building a test application in Xcode, with a codebase that is ultimately intended to be a framework, but I figured it would be easier to debug a monolithic app to start with.

Today I built a new Xcode project, moving stuff around so that my relative paths are friendly to Xcode, and I set up the new project using the stationary framework instead of an app. Building the framework, it says that it can't find any of the standard library c++ headers.

/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:14:19: cstring: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:15:18: cstdio: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:16:19: cstdarg: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:17:18: string: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:18:19: sstream: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:19:20: iostream: No such file or directory
/Users/andy/Projects/xcode_sandbox/p_/p_core/include/p_.h:20:21: streambuf: No such file or directory


...and so on...

I looked in the build details and I see that the App build process calls ProcessPCH++ , but the framework build calls just ProcessPCH. I don't want to go monkeying around with the header paths unless I know what I'm doing.

What do I need to do to build a framework with c++ standard library headers?

_______________________________________________
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


  • Follow-Ups:
    • Re: c++ includes in a Framework?
      • From: Andy Wiese <email@hidden>
  • Prev by Date: Re: Alert Noise on Parens, etc
  • Next by Date: Re: Turning off font smoothing in source code windows?
  • Previous by thread: Re: Turning off font smoothing in source code windows?
  • Next by thread: Re: c++ includes in a Framework?
  • Index(es):
    • Date
    • Thread