Page 1 of 1

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

Posted: Sun Oct 28, 2007 4:44 pm
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

Same

Posted: Sun Oct 28, 2007 7:10 pm
by alloutmacstoday
I am also getting the exact same problem...

Posted: Sun Oct 28, 2007 8:00 pm
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.

Posted: Sun Oct 28, 2007 10:34 pm
by alloutmacstoday
cocoa.framework is definatly there

Posted: Sun Oct 28, 2007 10:36 pm
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.

Posted: Sun Oct 28, 2007 10:46 pm
by alloutmacstoday
not sure i exactly understand what you mean...

I am pretty new to compiling adium...

Posted: Sun Oct 28, 2007 10:50 pm
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.

Posted: Sun Oct 28, 2007 10:56 pm
by alloutmacstoday
k, thnx

Fixed mine...

Posted: Sun Oct 28, 2007 11:13 pm
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)

Posted: Mon Oct 29, 2007 1:29 am
by alloutmacstoday
yeah, that worked, thnx

Posted: Mon Oct 29, 2007 1:40 am
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."

Posted: Mon Oct 29, 2007 2:19 am
by alloutmacstoday
well, that would definitely make sense