Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: locale.h file missing



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: locale.h file missing (From: Chris Espinosa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.