• 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: C++11 headers missing in /usr/include
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++11 headers missing in /usr/include


  • Subject: Re: C++11 headers missing in /usr/include
  • From: Chris Cleeland <email@hidden>
  • Date: Fri, 20 Jan 2017 11:33:26 -0600

Unless I'm mistaken, the C++11 headers are "installed" under the relevant framework.  The compiler is built to ensure that the correct system paths are already present.  If your code isn't finding standard headers, I'd suspect that you've got a different problem happening.

Unfortunately I'm not in front of my mac so I can't be more precise.

On Fri, Jan 20, 2017 at 11:27 AM, Matthew LeRoy <email@hidden> wrote:
Jens,

Thanks for the reply, but that’s not exactly the question I was asking.

I’m looking for a way to get the C++11 headers to be installed somewhere under /usr/include, such that I can then add a path like “/usr/include/c++/…” to the compiler’s header search path, and have a statement like “#include <codecvt>” work correctly. Right now, that statement doesn’t work because the <codecvt> header doesn’t exist under /usr/include (though most of the C and C++ headers do exist there; it’s just the C++11 headers that are missing).

To put it another way: I want the libc++/C++11 headers to actually exist on the filesystem (either directly or via a symlink) in a path that starts with “/usr/include/…”.

Matt

From: Jens Alfke
Date: Friday, January 20, 2017 at 12:08 PM
To: Matt LeRoy
Cc: "email@hidden"
Subject: Re: C++11 headers missing in /usr/include


On Jan 20, 2017, at 8:54 AM, Matthew LeRoy <email@hidden> wrote:

So, is there a way to get the newer libc++ headers (specifically, including the headers that are new in C++11) installed under /usr/include, or am I searching for a unicorn here?

Just add the appropriate directory to the compiler’s header search path. (I can’t give you specifics because I don’t know Visual Studio.)

—Jens

 _______________________________________________
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


 _______________________________________________
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: 
 >C++11 headers missing in /usr/include (From: Matthew LeRoy <email@hidden>)
 >Re: C++11 headers missing in /usr/include (From: Jens Alfke <email@hidden>)
 >Re: C++11 headers missing in /usr/include (From: Matthew LeRoy <email@hidden>)

  • Prev by Date: Re: C++11 headers missing in /usr/include
  • Next by Date: Re: C++11 headers missing in /usr/include
  • Previous by thread: Re: C++11 headers missing in /usr/include
  • Next by thread: Re: C++11 headers missing in /usr/include
  • Index(es):
    • Date
    • Thread