Build error with 10.5 error: Cocoa/Cocoa.h:

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Macz
Harmless
Posts: 3
Joined: Thu Dec 22, 2005 7:16 pm

Build error with 10.5 error: Cocoa/Cocoa.h:

Post by Macz »

After doing a archive and install of 10.5 and re installing dev tools I get the following error when building.

"Precompiling "AIUtilities" of project "AIUtilities.framework" with configuration "Development" - (1 error)
error: Cocoa/Cocoa.h: No Such file or directory"

Any Ideas?

Thanks
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Same

Post by alloutmacstoday »

I am also getting the exact same problem...
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Check your SDK paths and installation to make sure you have everything, if Cocoa can't be found the SDK isn't being appropriately located.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Post by alloutmacstoday »

cocoa.framework is definatly there
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

alloutmacstoday wrote:cocoa.framework is definatly there
Not what I meant. I meant /Developer/SDKs/ (does it contain the appropriate SDKs as required by Adium) and the SDK path setting for the targets in Adium that you are looking to build.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Post by alloutmacstoday »

not sure i exactly understand what you mean...

I am pretty new to compiling adium...
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Adium is a pretty massive program to start cutting your programming teeth on. :) I'd recommend starting with some sample projects to get a feeling for how Cocoa, Xcode, and the entire Mac OS X developer stack work.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Post by alloutmacstoday »

k, thnx
Macz
Harmless
Posts: 3
Joined: Thu Dec 22, 2005 7:16 pm

Fixed mine...

Post by Macz »

OK fixed it. Be sure when installing Dev tools that all the options are installed (UNIX Dev was not on mine, after installing that all was happy)
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Post by alloutmacstoday »

yeah, that worked, thnx
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Curiosity peaked, I looked at the description for said package and I think I found out why this is salient:

"This package is provided for compatibility with shell scripts and makefiles that require access to the developer tools in specific system locations."
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
alloutmacstoday
Harmless
Posts: 6
Joined: Sun Oct 28, 2007 7:08 pm

Post by alloutmacstoday »

well, that would definitely make sense
Post Reply