• 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
Carbon is confused about search paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Carbon is confused about search paths


  • Subject: Carbon is confused about search paths
  • From: David Dunham <email@hidden>
  • Date: Thu, 9 Jun 2005 11:06:50 -0700

So I'm trying to convert one of our 50 or so CodeWarrior games to Xcode, so we can go Intel.

I started with a basic Carbon project, and added files.

The precompiled header won't compile -- for some reason

#include <Carbon/Carbon.h>

ends up referencing my String.h file:

In file included from /Volumes/GameHouse/WordInlay/system/String.h:17,
from /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:49,
from /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
from /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /Volumes/GameHouse/WordInlay/WordSlinger_Prefix.pch:5:


(Like everyone, we have our own C++ string class, and like most people, it's in string.h. Which worked fine in CodeWarrior and Visual Studio.)

How can I get Carbon to look in the right place for its header files? This is a beginning project, so there are no search paths set.

The DTS lab here at WWDC didn't have any suggestions...
--

David Dunham Macintosh Game Developer GameHouse Studios +1 206 442 5881 x22 http://www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
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
  • Prev by Date: Re: XCode 2.1 Other C flags not working?
  • Next by Date: Using alternate gcc in Xcode
  • Previous by thread: Re: XCode 1.5 target editing error
  • Next by thread: Using alternate gcc in Xcode
  • Index(es):
    • Date
    • Thread