• 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: locale.h file missing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: locale.h file missing


  • Subject: RE: locale.h file missing
  • From: "Swar Systems" <email@hidden>
  • Date: Sun, 29 May 2005 17:13:52 +0200
  • Importance: Normal

Thanks a lot for the info! I had made a search with the Finder for locale.h and surprisingly it had not shown anything under /usr/include. But if I go directly there, I can see the header.
 
The problem seems to be in the order header paths are searched, because I have a locale.h that is part of the library I am trying to compile, and that is the file that is included in darwin/3.3/c++/iosfwd . I guess XCode should first try to locate the header among the system include folders, and then only in the Project ones.
 
I have created this project using New Project : Command Line Utility : C++ Tool. Is that the right option?
 
Cheers!
 
mariano
-----Message d'origine-----
De : xcode-users-bounces+info=email@hidden [mailto:xcode-users-bounces+info=email@hidden]De la part de Chris Espinosa
Envoyé : dimanche, 29. mai 2005 16:51
À : XCode Users' List
Objet : Re: locale.h file missing

On May 29, 2005, at 6:59 AM, Swar Systems wrote:

I am trying to port a C++ library on Darwin and I am having some problems resolving the proper header files. I am using XCode version 1.5.
The problem is that the builder is looking for a header called "locale.h", and it doesn't find it. When I browse the system in the Finder, I also cannot find it either.
The reference goes like that : darwin/3.3/c++/iosfwd -> darwin/3.3/c++/ppc-darwin/bits/c++locale.h -> darwin/3.3/c++/clocale -> <locale.h>?
Am I missing a valid file, or did I not set any specific properties?


It ought to be in /usr/include/locale.h.

You shouldn't need to set anything special for this; gcc 3.3 looks in /usr/include by default. Make sure it's there, and you're not passing anything (e.g. -nostdinc) that would defeat it.

Chris
 _______________________________________________
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: 
 >Re: locale.h file missing (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: locale.h file missing
  • Next by Date: Re: gcc 4 const confusion
  • Previous by thread: Re: locale.h file missing
  • Next by thread: Relocation entries in non-writable section
  • Index(es):
    • Date
    • Thread