• 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: more search path stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more search path stuff


  • Subject: Re: more search path stuff
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 9 Jun 2005 14:14:01 -0500

On 9 Jun 2005, at 1:16 PM, David Dunham wrote:

In the C++ project I'm trying to convert from CodeWarrior (or Visual Studio, depending on how you look at it), I've got stuff like

#include "sprite/DialogSprite.h"

This file is in the project, but can't be found:

In file included from /Volumes/GameHouse/WordInlay/ HighScoreDialog.cpp:16:
/Volumes/GameHouse/WordInlay/HighScoreDialog.h:10:33: error: sprite/ DialogSprite.h: No such file or directory


(it would be /Volumes/GameHouse/sprite/DialogSprite.h)

Do I need to add a search path even though the .h is in my project?

Short answer, I believe, is yes.

Bear in mind that GCC is, by comparison to CodeWarrior, only barely integrated with the IDE.* "The project knows X" rarely permits you to assume that the compiler knows X.

    -- F

* This is not at all to scant the high quality and hard work in the Xcode native build system. It infers a lot of stuff from the project. It's just not as aggressive in its inferences as CodeWarrior. And, _by comparison_, the IDE and the compiler don't share as much information.


_______________________________________________ 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: 
 >more search path stuff (From: David Dunham <email@hidden>)

  • Prev by Date: Re: CodeWarrior vs Xcode issues
  • Next by Date: Command-K not compiling
  • Previous by thread: more search path stuff
  • Next by thread: Re: more search path stuff
  • Index(es):
    • Date
    • Thread